public class GeneralRegressionModel
extends java.lang.Object
Java 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 and Description |
|---|
GeneralRegressionModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addContent(java.lang.Object object) |
java.lang.String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
java.lang.String |
getBaselineStrataVariable()
Gets the value of the baselineStrataVariable property.
|
java.util.List<java.lang.Object> |
getContent()
Gets the rest of the content model.
|
CUMULATIVELINKFUNCTION |
getCumulativeLink()
Gets the value of the cumulativeLink property.
|
java.lang.Double |
getDistParameter()
Gets the value of the distParameter property.
|
java.lang.String |
getDistribution()
Gets the value of the distribution property.
|
java.lang.String |
getEndTimeVariable()
Gets the value of the endTimeVariable property.
|
MININGFUNCTION |
getFunctionName()
Gets the value of the functionName property.
|
LINKFUNCTION |
getLinkFunction()
Gets the value of the linkFunction property.
|
java.lang.Double |
getLinkParameter()
Gets the value of the linkParameter property.
|
java.lang.Double |
getModelDF()
Gets the value of the modelDF property.
|
java.lang.String |
getModelName()
Gets the value of the modelName property.
|
java.lang.String |
getModelType()
Gets the value of the modelType property.
|
java.lang.Double |
getOffsetValue()
Gets the value of the offsetValue property.
|
java.lang.String |
getOffsetVariable()
Gets the value of the offsetVariable property.
|
java.lang.String |
getStartTimeVariable()
Gets the value of the startTimeVariable property.
|
java.lang.String |
getStatusVariable()
Gets the value of the statusVariable property.
|
java.lang.String |
getSubjectIDVariable()
Gets the value of the subjectIDVariable property.
|
java.lang.String |
getTargetReferenceCategory()
Gets the value of the targetReferenceCategory property.
|
java.lang.String |
getTargetVariableName()
Gets the value of the targetVariableName property.
|
java.math.BigInteger |
getTrialsValue()
Gets the value of the trialsValue property.
|
java.lang.String |
getTrialsVariable()
Gets the value of the trialsVariable property.
|
boolean |
isIsScorable()
Gets the value of the isScorable property.
|
void |
setAlgorithmName(java.lang.String value)
Sets the value of the algorithmName property.
|
void |
setBaselineStrataVariable(java.lang.String value)
Sets the value of the baselineStrataVariable property.
|
void |
setCumulativeLink(CUMULATIVELINKFUNCTION value)
Sets the value of the cumulativeLink property.
|
void |
setDistParameter(java.lang.Double value)
Sets the value of the distParameter property.
|
void |
setDistribution(java.lang.String value)
Sets the value of the distribution property.
|
void |
setEndTimeVariable(java.lang.String value)
Sets the value of the endTimeVariable property.
|
void |
setFunctionName(MININGFUNCTION value)
Sets the value of the functionName property.
|
void |
setIsScorable(java.lang.Boolean value)
Sets the value of the isScorable property.
|
void |
setLinkFunction(LINKFUNCTION value)
Sets the value of the linkFunction property.
|
void |
setLinkParameter(java.lang.Double value)
Sets the value of the linkParameter property.
|
void |
setModelDF(java.lang.Double value)
Sets the value of the modelDF property.
|
void |
setModelName(java.lang.String value)
Sets the value of the modelName property.
|
void |
setModelType(java.lang.String value)
Sets the value of the modelType property.
|
void |
setOffsetValue(java.lang.Double value)
Sets the value of the offsetValue property.
|
void |
setOffsetVariable(java.lang.String value)
Sets the value of the offsetVariable property.
|
void |
setStartTimeVariable(java.lang.String value)
Sets the value of the startTimeVariable property.
|
void |
setStatusVariable(java.lang.String value)
Sets the value of the statusVariable property.
|
void |
setSubjectIDVariable(java.lang.String value)
Sets the value of the subjectIDVariable property.
|
void |
setTargetReferenceCategory(java.lang.String value)
Sets the value of the targetReferenceCategory property.
|
void |
setTargetVariableName(java.lang.String value)
Sets the value of the targetVariableName property.
|
void |
setTrialsValue(java.math.BigInteger value)
Sets the value of the trialsValue property.
|
void |
setTrialsVariable(java.lang.String value)
Sets the value of the trialsVariable property.
|
public java.util.List<java.lang.Object> getContent()
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 set method 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
ModelExplanation
EventValues
Output
LocalTransformations
PPMatrix
Targets
ParameterList
ModelVerification
Extension
ModelStats
CovariateList
BaseCumHazardTables
PCovMatrix
FactorList
MiningSchema
ParamMatrix
public void addContent(java.lang.Object object)
public java.lang.String getAlgorithmName()
Stringpublic void setAlgorithmName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getBaselineStrataVariable()
Stringpublic void setBaselineStrataVariable(java.lang.String value)
value - allowed object is
Stringpublic CUMULATIVELINKFUNCTION getCumulativeLink()
CUMULATIVELINKFUNCTIONpublic void setCumulativeLink(CUMULATIVELINKFUNCTION value)
value - allowed object is
CUMULATIVELINKFUNCTIONpublic java.lang.Double getDistParameter()
Doublepublic void setDistParameter(java.lang.Double value)
value - allowed object is
Doublepublic java.lang.String getDistribution()
Stringpublic void setDistribution(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getEndTimeVariable()
Stringpublic void setEndTimeVariable(java.lang.String value)
value - allowed object is
Stringpublic MININGFUNCTION getFunctionName()
MININGFUNCTIONpublic void setFunctionName(MININGFUNCTION value)
value - allowed object is
MININGFUNCTIONpublic boolean isIsScorable()
Booleanpublic void setIsScorable(java.lang.Boolean value)
value - allowed object is
Booleanpublic LINKFUNCTION getLinkFunction()
LINKFUNCTIONpublic void setLinkFunction(LINKFUNCTION value)
value - allowed object is
LINKFUNCTIONpublic java.lang.Double getLinkParameter()
Doublepublic void setLinkParameter(java.lang.Double value)
value - allowed object is
Doublepublic java.lang.Double getModelDF()
Doublepublic void setModelDF(java.lang.Double value)
value - allowed object is
Doublepublic java.lang.String getModelName()
Stringpublic void setModelName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getModelType()
Stringpublic void setModelType(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Double getOffsetValue()
Doublepublic void setOffsetValue(java.lang.Double value)
value - allowed object is
Doublepublic java.lang.String getOffsetVariable()
Stringpublic void setOffsetVariable(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getStartTimeVariable()
Stringpublic void setStartTimeVariable(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getStatusVariable()
Stringpublic void setStatusVariable(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getSubjectIDVariable()
Stringpublic void setSubjectIDVariable(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getTargetReferenceCategory()
Stringpublic void setTargetReferenceCategory(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getTargetVariableName()
Stringpublic void setTargetVariableName(java.lang.String value)
value - allowed object is
Stringpublic java.math.BigInteger getTrialsValue()
BigIntegerpublic void setTrialsValue(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic java.lang.String getTrialsVariable()
Stringpublic void setTrialsVariable(java.lang.String value)
value - allowed object is
String