Class GeneralRegressionModel
- java.lang.Object
-
- weka.core.pmml.jaxbbindings.GeneralRegressionModel
-
public class GeneralRegressionModel extends java.lang.ObjectJava class for GeneralRegressionModel element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="GeneralRegressionModel"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.dmg.org/PMML-4_1}Extension" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_1}MiningSchema"/> <element ref="{http://www.dmg.org/PMML-4_1}Output" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_1}ModelStats" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_1}ModelExplanation" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_1}Targets" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_1}LocalTransformations" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_1}ParameterList"/> <element ref="{http://www.dmg.org/PMML-4_1}FactorList" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_1}CovariateList" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_1}PPMatrix"/> <element ref="{http://www.dmg.org/PMML-4_1}PCovMatrix" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_1}ParamMatrix"/> <element ref="{http://www.dmg.org/PMML-4_1}EventValues" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_1}BaseCumHazardTables" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_1}ModelVerification" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_1}Extension" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="algorithmName" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="baselineStrataVariable" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" /> <attribute name="cumulativeLink" type="{http://www.dmg.org/PMML-4_1}CUMULATIVE-LINK-FUNCTION" /> <attribute name="distParameter" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" /> <attribute name="distribution"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="binomial"/> <enumeration value="gamma"/> <enumeration value="igauss"/> <enumeration value="negbin"/> <enumeration value="normal"/> <enumeration value="poisson"/> <enumeration value="tweedie"/> </restriction> </simpleType> </attribute> <attribute name="endTimeVariable" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" /> <attribute name="functionName" use="required" type="{http://www.dmg.org/PMML-4_1}MINING-FUNCTION" /> <attribute name="isScorable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="linkFunction" type="{http://www.dmg.org/PMML-4_1}LINK-FUNCTION" /> <attribute name="linkParameter" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" /> <attribute name="modelDF" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" /> <attribute name="modelName" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="modelType" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="regression"/> <enumeration value="generalLinear"/> <enumeration value="multinomialLogistic"/> <enumeration value="ordinalMultinomial"/> <enumeration value="generalizedLinear"/> <enumeration value="CoxRegression"/> </restriction> </simpleType> </attribute> <attribute name="offsetValue" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" /> <attribute name="offsetVariable" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" /> <attribute name="startTimeVariable" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" /> <attribute name="statusVariable" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" /> <attribute name="subjectIDVariable" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" /> <attribute name="targetReferenceCategory" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="targetVariableName" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" /> <attribute name="trialsValue" type="{http://www.dmg.org/PMML-4_1}INT-NUMBER" /> <attribute name="trialsVariable" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" /> </restriction> </complexContent> </complexType> </element>
-
-
Constructor Summary
Constructors Constructor Description GeneralRegressionModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddContent(java.lang.Object object)java.lang.StringgetAlgorithmName()Gets the value of the algorithmName property.java.lang.StringgetBaselineStrataVariable()Gets the value of the baselineStrataVariable property.java.util.List<java.lang.Object>getContent()Gets the rest of the content model.CUMULATIVELINKFUNCTIONgetCumulativeLink()Gets the value of the cumulativeLink property.java.lang.DoublegetDistParameter()Gets the value of the distParameter property.java.lang.StringgetDistribution()Gets the value of the distribution property.java.lang.StringgetEndTimeVariable()Gets the value of the endTimeVariable property.MININGFUNCTIONgetFunctionName()Gets the value of the functionName property.LINKFUNCTIONgetLinkFunction()Gets the value of the linkFunction property.java.lang.DoublegetLinkParameter()Gets the value of the linkParameter property.java.lang.DoublegetModelDF()Gets the value of the modelDF property.java.lang.StringgetModelName()Gets the value of the modelName property.java.lang.StringgetModelType()Gets the value of the modelType property.java.lang.DoublegetOffsetValue()Gets the value of the offsetValue property.java.lang.StringgetOffsetVariable()Gets the value of the offsetVariable property.java.lang.StringgetStartTimeVariable()Gets the value of the startTimeVariable property.java.lang.StringgetStatusVariable()Gets the value of the statusVariable property.java.lang.StringgetSubjectIDVariable()Gets the value of the subjectIDVariable property.java.lang.StringgetTargetReferenceCategory()Gets the value of the targetReferenceCategory property.java.lang.StringgetTargetVariableName()Gets the value of the targetVariableName property.java.math.BigIntegergetTrialsValue()Gets the value of the trialsValue property.java.lang.StringgetTrialsVariable()Gets the value of the trialsVariable property.booleanisIsScorable()Gets the value of the isScorable property.voidsetAlgorithmName(java.lang.String value)Sets the value of the algorithmName property.voidsetBaselineStrataVariable(java.lang.String value)Sets the value of the baselineStrataVariable property.voidsetCumulativeLink(CUMULATIVELINKFUNCTION value)Sets the value of the cumulativeLink property.voidsetDistParameter(java.lang.Double value)Sets the value of the distParameter property.voidsetDistribution(java.lang.String value)Sets the value of the distribution property.voidsetEndTimeVariable(java.lang.String value)Sets the value of the endTimeVariable property.voidsetFunctionName(MININGFUNCTION value)Sets the value of the functionName property.voidsetIsScorable(java.lang.Boolean value)Sets the value of the isScorable property.voidsetLinkFunction(LINKFUNCTION value)Sets the value of the linkFunction property.voidsetLinkParameter(java.lang.Double value)Sets the value of the linkParameter property.voidsetModelDF(java.lang.Double value)Sets the value of the modelDF property.voidsetModelName(java.lang.String value)Sets the value of the modelName property.voidsetModelType(java.lang.String value)Sets the value of the modelType property.voidsetOffsetValue(java.lang.Double value)Sets the value of the offsetValue property.voidsetOffsetVariable(java.lang.String value)Sets the value of the offsetVariable property.voidsetStartTimeVariable(java.lang.String value)Sets the value of the startTimeVariable property.voidsetStatusVariable(java.lang.String value)Sets the value of the statusVariable property.voidsetSubjectIDVariable(java.lang.String value)Sets the value of the subjectIDVariable property.voidsetTargetReferenceCategory(java.lang.String value)Sets the value of the targetReferenceCategory property.voidsetTargetVariableName(java.lang.String value)Sets the value of the targetVariableName property.voidsetTrialsValue(java.math.BigInteger value)Sets the value of the trialsValue property.voidsetTrialsVariable(java.lang.String value)Sets the value of the trialsVariable property.
-
-
-
Method Detail
-
getContent
public java.util.List<java.lang.Object> getContent()
Gets the rest of the content model.You are getting this "catch-all" property because of the following reason: The field name "Extension" is used by two different parts of a schema. See: line 2515 of file:/home/david/workspace/weka/pmml-4-1.xsd line 2499 of file:/home/david/workspace/weka/pmml-4-1.xsd
To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the content property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the content property.For example, to add a new item, do as follows:
getContent().add(newItem);Objects of the following type(s) are allowed in the list
ModelExplanationEventValuesOutputLocalTransformationsPPMatrixTargetsParameterListModelVerificationExtensionModelStatsCovariateListBaseCumHazardTablesPCovMatrixFactorListMiningSchemaParamMatrix
-
addContent
public void addContent(java.lang.Object object)
-
getAlgorithmName
public java.lang.String getAlgorithmName()
Gets the value of the algorithmName property.- Returns:
- possible object is
String
-
setAlgorithmName
public void setAlgorithmName(java.lang.String value)
Sets the value of the algorithmName property.- Parameters:
value- allowed object isString
-
getBaselineStrataVariable
public java.lang.String getBaselineStrataVariable()
Gets the value of the baselineStrataVariable property.- Returns:
- possible object is
String
-
setBaselineStrataVariable
public void setBaselineStrataVariable(java.lang.String value)
Sets the value of the baselineStrataVariable property.- Parameters:
value- allowed object isString
-
getCumulativeLink
public CUMULATIVELINKFUNCTION getCumulativeLink()
Gets the value of the cumulativeLink property.- Returns:
- possible object is
CUMULATIVELINKFUNCTION
-
setCumulativeLink
public void setCumulativeLink(CUMULATIVELINKFUNCTION value)
Sets the value of the cumulativeLink property.- Parameters:
value- allowed object isCUMULATIVELINKFUNCTION
-
getDistParameter
public java.lang.Double getDistParameter()
Gets the value of the distParameter property.- Returns:
- possible object is
Double
-
setDistParameter
public void setDistParameter(java.lang.Double value)
Sets the value of the distParameter property.- Parameters:
value- allowed object isDouble
-
getDistribution
public java.lang.String getDistribution()
Gets the value of the distribution property.- Returns:
- possible object is
String
-
setDistribution
public void setDistribution(java.lang.String value)
Sets the value of the distribution property.- Parameters:
value- allowed object isString
-
getEndTimeVariable
public java.lang.String getEndTimeVariable()
Gets the value of the endTimeVariable property.- Returns:
- possible object is
String
-
setEndTimeVariable
public void setEndTimeVariable(java.lang.String value)
Sets the value of the endTimeVariable property.- Parameters:
value- allowed object isString
-
getFunctionName
public MININGFUNCTION getFunctionName()
Gets the value of the functionName property.- Returns:
- possible object is
MININGFUNCTION
-
setFunctionName
public void setFunctionName(MININGFUNCTION value)
Sets the value of the functionName property.- Parameters:
value- allowed object isMININGFUNCTION
-
isIsScorable
public boolean isIsScorable()
Gets the value of the isScorable property.- Returns:
- possible object is
Boolean
-
setIsScorable
public void setIsScorable(java.lang.Boolean value)
Sets the value of the isScorable property.- Parameters:
value- allowed object isBoolean
-
getLinkFunction
public LINKFUNCTION getLinkFunction()
Gets the value of the linkFunction property.- Returns:
- possible object is
LINKFUNCTION
-
setLinkFunction
public void setLinkFunction(LINKFUNCTION value)
Sets the value of the linkFunction property.- Parameters:
value- allowed object isLINKFUNCTION
-
getLinkParameter
public java.lang.Double getLinkParameter()
Gets the value of the linkParameter property.- Returns:
- possible object is
Double
-
setLinkParameter
public void setLinkParameter(java.lang.Double value)
Sets the value of the linkParameter property.- Parameters:
value- allowed object isDouble
-
getModelDF
public java.lang.Double getModelDF()
Gets the value of the modelDF property.- Returns:
- possible object is
Double
-
setModelDF
public void setModelDF(java.lang.Double value)
Sets the value of the modelDF property.- Parameters:
value- allowed object isDouble
-
getModelName
public java.lang.String getModelName()
Gets the value of the modelName property.- Returns:
- possible object is
String
-
setModelName
public void setModelName(java.lang.String value)
Sets the value of the modelName property.- Parameters:
value- allowed object isString
-
getModelType
public java.lang.String getModelType()
Gets the value of the modelType property.- Returns:
- possible object is
String
-
setModelType
public void setModelType(java.lang.String value)
Sets the value of the modelType property.- Parameters:
value- allowed object isString
-
getOffsetValue
public java.lang.Double getOffsetValue()
Gets the value of the offsetValue property.- Returns:
- possible object is
Double
-
setOffsetValue
public void setOffsetValue(java.lang.Double value)
Sets the value of the offsetValue property.- Parameters:
value- allowed object isDouble
-
getOffsetVariable
public java.lang.String getOffsetVariable()
Gets the value of the offsetVariable property.- Returns:
- possible object is
String
-
setOffsetVariable
public void setOffsetVariable(java.lang.String value)
Sets the value of the offsetVariable property.- Parameters:
value- allowed object isString
-
getStartTimeVariable
public java.lang.String getStartTimeVariable()
Gets the value of the startTimeVariable property.- Returns:
- possible object is
String
-
setStartTimeVariable
public void setStartTimeVariable(java.lang.String value)
Sets the value of the startTimeVariable property.- Parameters:
value- allowed object isString
-
getStatusVariable
public java.lang.String getStatusVariable()
Gets the value of the statusVariable property.- Returns:
- possible object is
String
-
setStatusVariable
public void setStatusVariable(java.lang.String value)
Sets the value of the statusVariable property.- Parameters:
value- allowed object isString
-
getSubjectIDVariable
public java.lang.String getSubjectIDVariable()
Gets the value of the subjectIDVariable property.- Returns:
- possible object is
String
-
setSubjectIDVariable
public void setSubjectIDVariable(java.lang.String value)
Sets the value of the subjectIDVariable property.- Parameters:
value- allowed object isString
-
getTargetReferenceCategory
public java.lang.String getTargetReferenceCategory()
Gets the value of the targetReferenceCategory property.- Returns:
- possible object is
String
-
setTargetReferenceCategory
public void setTargetReferenceCategory(java.lang.String value)
Sets the value of the targetReferenceCategory property.- Parameters:
value- allowed object isString
-
getTargetVariableName
public java.lang.String getTargetVariableName()
Gets the value of the targetVariableName property.- Returns:
- possible object is
String
-
setTargetVariableName
public void setTargetVariableName(java.lang.String value)
Sets the value of the targetVariableName property.- Parameters:
value- allowed object isString
-
getTrialsValue
public java.math.BigInteger getTrialsValue()
Gets the value of the trialsValue property.- Returns:
- possible object is
BigInteger
-
setTrialsValue
public void setTrialsValue(java.math.BigInteger value)
Sets the value of the trialsValue property.- Parameters:
value- allowed object isBigInteger
-
getTrialsVariable
public java.lang.String getTrialsVariable()
Gets the value of the trialsVariable property.- Returns:
- possible object is
String
-
setTrialsVariable
public void setTrialsVariable(java.lang.String value)
Sets the value of the trialsVariable property.- Parameters:
value- allowed object isString
-
-