public class GeneralRegressionModel extends Model implements HasExtensions
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.dmg.org/PMML-4_3}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}MiningSchema"/>
<element ref="{http://www.dmg.org/PMML-4_3}Output" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}ModelStats" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}ModelExplanation" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}Targets" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}LocalTransformations" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}ParameterList"/>
<element ref="{http://www.dmg.org/PMML-4_3}FactorList" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}CovariateList" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}PPMatrix"/>
<element ref="{http://www.dmg.org/PMML-4_3}PCovMatrix" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}ParamMatrix"/>
<element ref="{http://www.dmg.org/PMML-4_3}EventValues" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}BaseCumHazardTables" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}ModelVerification" minOccurs="0"/>
</sequence>
<attribute name="targetVariableName" type="{http://www.dmg.org/PMML-4_3}FIELD-NAME" />
<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="modelName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="functionName" use="required" type="{http://www.dmg.org/PMML-4_3}MINING-FUNCTION" />
<attribute name="algorithmName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="targetReferenceCategory" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="cumulativeLink">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="logit"/>
<enumeration value="probit"/>
<enumeration value="cloglog"/>
<enumeration value="loglog"/>
<enumeration value="cauchit"/>
</restriction>
</simpleType>
</attribute>
<attribute name="linkFunction">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="cloglog"/>
<enumeration value="identity"/>
<enumeration value="log"/>
<enumeration value="logc"/>
<enumeration value="logit"/>
<enumeration value="loglog"/>
<enumeration value="negbin"/>
<enumeration value="oddspower"/>
<enumeration value="power"/>
<enumeration value="probit"/>
</restriction>
</simpleType>
</attribute>
<attribute name="linkParameter" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
<attribute name="trialsVariable" type="{http://www.dmg.org/PMML-4_3}FIELD-NAME" />
<attribute name="trialsValue" type="{http://www.dmg.org/PMML-4_3}INT-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="distParameter" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
<attribute name="offsetVariable" type="{http://www.dmg.org/PMML-4_3}FIELD-NAME" />
<attribute name="offsetValue" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
<attribute name="modelDF" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
<attribute name="endTimeVariable" type="{http://www.dmg.org/PMML-4_3}FIELD-NAME" />
<attribute name="startTimeVariable" type="{http://www.dmg.org/PMML-4_3}FIELD-NAME" />
<attribute name="subjectIDVariable" type="{http://www.dmg.org/PMML-4_3}FIELD-NAME" />
<attribute name="statusVariable" type="{http://www.dmg.org/PMML-4_3}FIELD-NAME" />
<attribute name="baselineStrataVariable" type="{http://www.dmg.org/PMML-4_3}FIELD-NAME" />
<attribute name="isScorable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
GeneralRegressionModel.CumulativeLinkFunction
Java class for null.
|
static class |
GeneralRegressionModel.Distribution
Java class for null.
|
static class |
GeneralRegressionModel.LinkFunction
Java class for null.
|
static class |
GeneralRegressionModel.ModelType
Java class for null.
|
| Constructor and Description |
|---|
GeneralRegressionModel() |
GeneralRegressionModel(GeneralRegressionModel.ModelType modelType,
MiningFunction miningFunction,
MiningSchema miningSchema,
ParameterList parameterList,
PPMatrix ppMatrix,
ParamMatrix paramMatrix) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
GeneralRegressionModel |
addExtensions(Extension... extensions) |
String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
BaseCumHazardTables |
getBaseCumHazardTables()
Gets the value of the baseCumHazardTables property.
|
FieldName |
getBaselineStrataVariable()
Gets the value of the baselineStrataVariable property.
|
CovariateList |
getCovariateList()
Gets the value of the covariateList property.
|
GeneralRegressionModel.CumulativeLinkFunction |
getCumulativeLinkFunction()
Gets the value of the cumulativeLinkFunction property.
|
Double |
getDistParameter()
Gets the value of the distParameter property.
|
GeneralRegressionModel.Distribution |
getDistribution()
Gets the value of the distribution property.
|
FieldName |
getEndTimeVariable()
Gets the value of the endTimeVariable property.
|
EventValues |
getEventValues()
Gets the value of the eventValues property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
FactorList |
getFactorList()
Gets the value of the factorList property.
|
GeneralRegressionModel.LinkFunction |
getLinkFunction()
Gets the value of the linkFunction property.
|
Double |
getLinkParameter()
Gets the value of the linkParameter property.
|
LocalTransformations |
getLocalTransformations()
Gets the value of the localTransformations property.
|
MiningFunction |
getMiningFunction()
Gets the value of the miningFunction property.
|
MiningSchema |
getMiningSchema()
Gets the value of the miningSchema property.
|
Double |
getModelDF()
Gets the value of the modelDF property.
|
ModelExplanation |
getModelExplanation()
Gets the value of the modelExplanation property.
|
String |
getModelName()
Gets the value of the modelName property.
|
ModelStats |
getModelStats()
Gets the value of the modelStats property.
|
GeneralRegressionModel.ModelType |
getModelType()
Gets the value of the modelType property.
|
ModelVerification |
getModelVerification()
Gets the value of the modelVerification property.
|
Double |
getOffsetValue()
Gets the value of the offsetValue property.
|
FieldName |
getOffsetVariable()
Gets the value of the offsetVariable property.
|
Output |
getOutput()
Gets the value of the output property.
|
ParameterList |
getParameterList()
Gets the value of the parameterList property.
|
ParamMatrix |
getParamMatrix()
Gets the value of the paramMatrix property.
|
PCovMatrix |
getPCovMatrix()
Gets the value of the pCovMatrix property.
|
PPMatrix |
getPPMatrix()
Gets the value of the ppMatrix property.
|
FieldName |
getStartTimeVariable()
Gets the value of the startTimeVariable property.
|
FieldName |
getStatusVariable()
Gets the value of the statusVariable property.
|
FieldName |
getSubjectIDVariable()
Gets the value of the subjectIDVariable property.
|
String |
getTargetReferenceCategory()
Gets the value of the targetReferenceCategory property.
|
Targets |
getTargets()
Gets the value of the targets property.
|
FieldName |
getTargetVariableName()
Gets the value of the targetVariableName property.
|
Integer |
getTrialsValue()
Gets the value of the trialsValue property.
|
FieldName |
getTrialsVariable()
Gets the value of the trialsVariable property.
|
boolean |
hasExtensions() |
boolean |
isScorable()
Gets the value of the scorable property.
|
GeneralRegressionModel |
setAlgorithmName(String algorithmName)
Sets the value of the algorithmName property.
|
GeneralRegressionModel |
setBaseCumHazardTables(BaseCumHazardTables baseCumHazardTables)
Sets the value of the baseCumHazardTables property.
|
GeneralRegressionModel |
setBaselineStrataVariable(FieldName baselineStrataVariable)
Sets the value of the baselineStrataVariable property.
|
GeneralRegressionModel |
setCovariateList(CovariateList covariateList)
Sets the value of the covariateList property.
|
GeneralRegressionModel |
setCumulativeLinkFunction(GeneralRegressionModel.CumulativeLinkFunction cumulativeLinkFunction)
Sets the value of the cumulativeLinkFunction property.
|
GeneralRegressionModel |
setDistParameter(Double distParameter)
Sets the value of the distParameter property.
|
GeneralRegressionModel |
setDistribution(GeneralRegressionModel.Distribution distribution)
Sets the value of the distribution property.
|
GeneralRegressionModel |
setEndTimeVariable(FieldName endTimeVariable)
Sets the value of the endTimeVariable property.
|
GeneralRegressionModel |
setEventValues(EventValues eventValues)
Sets the value of the eventValues property.
|
GeneralRegressionModel |
setFactorList(FactorList factorList)
Sets the value of the factorList property.
|
GeneralRegressionModel |
setLinkFunction(GeneralRegressionModel.LinkFunction linkFunction)
Sets the value of the linkFunction property.
|
GeneralRegressionModel |
setLinkParameter(Double linkParameter)
Sets the value of the linkParameter property.
|
GeneralRegressionModel |
setLocalTransformations(LocalTransformations localTransformations)
Sets the value of the localTransformations property.
|
GeneralRegressionModel |
setMiningFunction(MiningFunction miningFunction)
Sets the value of the miningFunction property.
|
GeneralRegressionModel |
setMiningSchema(MiningSchema miningSchema)
Sets the value of the miningSchema property.
|
GeneralRegressionModel |
setModelDF(Double modelDF)
Sets the value of the modelDF property.
|
GeneralRegressionModel |
setModelExplanation(ModelExplanation modelExplanation)
Sets the value of the modelExplanation property.
|
GeneralRegressionModel |
setModelName(String modelName)
Sets the value of the modelName property.
|
GeneralRegressionModel |
setModelStats(ModelStats modelStats)
Sets the value of the modelStats property.
|
GeneralRegressionModel |
setModelType(GeneralRegressionModel.ModelType modelType)
Sets the value of the modelType property.
|
GeneralRegressionModel |
setModelVerification(ModelVerification modelVerification)
Sets the value of the modelVerification property.
|
GeneralRegressionModel |
setOffsetValue(Double offsetValue)
Sets the value of the offsetValue property.
|
GeneralRegressionModel |
setOffsetVariable(FieldName offsetVariable)
Sets the value of the offsetVariable property.
|
GeneralRegressionModel |
setOutput(Output output)
Sets the value of the output property.
|
GeneralRegressionModel |
setParameterList(ParameterList parameterList)
Sets the value of the parameterList property.
|
GeneralRegressionModel |
setParamMatrix(ParamMatrix paramMatrix)
Sets the value of the paramMatrix property.
|
GeneralRegressionModel |
setPCovMatrix(PCovMatrix pCovMatrix)
Sets the value of the pCovMatrix property.
|
GeneralRegressionModel |
setPPMatrix(PPMatrix ppMatrix)
Sets the value of the ppMatrix property.
|
GeneralRegressionModel |
setScorable(Boolean scorable)
Sets the value of the scorable property.
|
GeneralRegressionModel |
setStartTimeVariable(FieldName startTimeVariable)
Sets the value of the startTimeVariable property.
|
GeneralRegressionModel |
setStatusVariable(FieldName statusVariable)
Sets the value of the statusVariable property.
|
GeneralRegressionModel |
setSubjectIDVariable(FieldName subjectIDVariable)
Sets the value of the subjectIDVariable property.
|
GeneralRegressionModel |
setTargetReferenceCategory(String targetReferenceCategory)
Sets the value of the targetReferenceCategory property.
|
GeneralRegressionModel |
setTargets(Targets targets)
Sets the value of the targets property.
|
GeneralRegressionModel |
setTargetVariableName(FieldName targetVariableName)
Sets the value of the targetVariableName property.
|
GeneralRegressionModel |
setTrialsValue(Integer trialsValue)
Sets the value of the trialsValue property.
|
GeneralRegressionModel |
setTrialsVariable(FieldName trialsVariable)
Sets the value of the trialsVariable property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic GeneralRegressionModel()
public GeneralRegressionModel(GeneralRegressionModel.ModelType modelType, MiningFunction miningFunction, MiningSchema miningSchema, ParameterList parameterList, PPMatrix ppMatrix, ParamMatrix paramMatrix)
public FieldName getTargetVariableName()
Stringpublic GeneralRegressionModel setTargetVariableName(FieldName targetVariableName)
targetVariableName - allowed object is
Stringpublic GeneralRegressionModel.ModelType getModelType()
GeneralRegressionModel.ModelTypepublic GeneralRegressionModel setModelType(GeneralRegressionModel.ModelType modelType)
modelType - allowed object is
GeneralRegressionModel.ModelTypepublic String getModelName()
getModelName in class ModelStringpublic GeneralRegressionModel setModelName(String modelName)
setModelName in class ModelmodelName - allowed object is
Stringpublic MiningFunction getMiningFunction()
getMiningFunction in class ModelMiningFunctionpublic GeneralRegressionModel setMiningFunction(MiningFunction miningFunction)
setMiningFunction in class ModelminingFunction - allowed object is
MiningFunctionpublic String getAlgorithmName()
getAlgorithmName in class ModelStringpublic GeneralRegressionModel setAlgorithmName(String algorithmName)
setAlgorithmName in class ModelalgorithmName - allowed object is
Stringpublic String getTargetReferenceCategory()
Stringpublic GeneralRegressionModel setTargetReferenceCategory(String targetReferenceCategory)
targetReferenceCategory - allowed object is
Stringpublic GeneralRegressionModel.CumulativeLinkFunction getCumulativeLinkFunction()
GeneralRegressionModel.CumulativeLinkFunctionpublic GeneralRegressionModel setCumulativeLinkFunction(GeneralRegressionModel.CumulativeLinkFunction cumulativeLinkFunction)
cumulativeLinkFunction - allowed object is
GeneralRegressionModel.CumulativeLinkFunctionpublic GeneralRegressionModel.LinkFunction getLinkFunction()
GeneralRegressionModel.LinkFunctionpublic GeneralRegressionModel setLinkFunction(GeneralRegressionModel.LinkFunction linkFunction)
linkFunction - allowed object is
GeneralRegressionModel.LinkFunctionpublic Double getLinkParameter()
Doublepublic GeneralRegressionModel setLinkParameter(Double linkParameter)
linkParameter - allowed object is
Doublepublic FieldName getTrialsVariable()
Stringpublic GeneralRegressionModel setTrialsVariable(FieldName trialsVariable)
trialsVariable - allowed object is
Stringpublic Integer getTrialsValue()
Integerpublic GeneralRegressionModel setTrialsValue(Integer trialsValue)
trialsValue - allowed object is
Integerpublic GeneralRegressionModel.Distribution getDistribution()
GeneralRegressionModel.Distributionpublic GeneralRegressionModel setDistribution(GeneralRegressionModel.Distribution distribution)
distribution - allowed object is
GeneralRegressionModel.Distributionpublic Double getDistParameter()
Doublepublic GeneralRegressionModel setDistParameter(Double distParameter)
distParameter - allowed object is
Doublepublic FieldName getOffsetVariable()
Stringpublic GeneralRegressionModel setOffsetVariable(FieldName offsetVariable)
offsetVariable - allowed object is
Stringpublic Double getOffsetValue()
Doublepublic GeneralRegressionModel setOffsetValue(Double offsetValue)
offsetValue - allowed object is
Doublepublic Double getModelDF()
Doublepublic GeneralRegressionModel setModelDF(Double modelDF)
modelDF - allowed object is
Doublepublic FieldName getEndTimeVariable()
Stringpublic GeneralRegressionModel setEndTimeVariable(FieldName endTimeVariable)
endTimeVariable - allowed object is
Stringpublic FieldName getStartTimeVariable()
Stringpublic GeneralRegressionModel setStartTimeVariable(FieldName startTimeVariable)
startTimeVariable - allowed object is
Stringpublic FieldName getSubjectIDVariable()
Stringpublic GeneralRegressionModel setSubjectIDVariable(FieldName subjectIDVariable)
subjectIDVariable - allowed object is
Stringpublic FieldName getStatusVariable()
Stringpublic GeneralRegressionModel setStatusVariable(FieldName statusVariable)
statusVariable - allowed object is
Stringpublic FieldName getBaselineStrataVariable()
Stringpublic GeneralRegressionModel setBaselineStrataVariable(FieldName baselineStrataVariable)
baselineStrataVariable - allowed object is
Stringpublic boolean isScorable()
isScorable in class ModelBooleanpublic GeneralRegressionModel setScorable(Boolean scorable)
setScorable in class Modelscorable - allowed object is
Booleanpublic List<Extension> getExtensions()
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 extensions property.
For example, to add a new item, do as follows:
getExtensions().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
getExtensions in interface HasExtensionspublic MiningSchema getMiningSchema()
getMiningSchema in class ModelMiningSchemapublic GeneralRegressionModel setMiningSchema(MiningSchema miningSchema)
setMiningSchema in class ModelminingSchema - allowed object is
MiningSchemapublic Output getOutput()
public GeneralRegressionModel setOutput(Output output)
public ModelStats getModelStats()
getModelStats in class ModelModelStatspublic GeneralRegressionModel setModelStats(ModelStats modelStats)
setModelStats in class ModelmodelStats - allowed object is
ModelStatspublic ModelExplanation getModelExplanation()
getModelExplanation in class ModelModelExplanationpublic GeneralRegressionModel setModelExplanation(ModelExplanation modelExplanation)
setModelExplanation in class ModelmodelExplanation - allowed object is
ModelExplanationpublic Targets getTargets()
getTargets in class ModelTargetspublic GeneralRegressionModel setTargets(Targets targets)
setTargets in class Modeltargets - allowed object is
Targetspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic GeneralRegressionModel setLocalTransformations(LocalTransformations localTransformations)
setLocalTransformations in class ModellocalTransformations - allowed object is
LocalTransformationspublic ParameterList getParameterList()
ParameterListpublic GeneralRegressionModel setParameterList(ParameterList parameterList)
parameterList - allowed object is
ParameterListpublic FactorList getFactorList()
FactorListpublic GeneralRegressionModel setFactorList(FactorList factorList)
factorList - allowed object is
FactorListpublic CovariateList getCovariateList()
CovariateListpublic GeneralRegressionModel setCovariateList(CovariateList covariateList)
covariateList - allowed object is
CovariateListpublic PPMatrix getPPMatrix()
PPMatrixpublic GeneralRegressionModel setPPMatrix(PPMatrix ppMatrix)
ppMatrix - allowed object is
PPMatrixpublic PCovMatrix getPCovMatrix()
PCovMatrixpublic GeneralRegressionModel setPCovMatrix(PCovMatrix pCovMatrix)
pCovMatrix - allowed object is
PCovMatrixpublic ParamMatrix getParamMatrix()
ParamMatrixpublic GeneralRegressionModel setParamMatrix(ParamMatrix paramMatrix)
paramMatrix - allowed object is
ParamMatrixpublic EventValues getEventValues()
EventValuespublic GeneralRegressionModel setEventValues(EventValues eventValues)
eventValues - allowed object is
EventValuespublic BaseCumHazardTables getBaseCumHazardTables()
BaseCumHazardTablespublic GeneralRegressionModel setBaseCumHazardTables(BaseCumHazardTables baseCumHazardTables)
baseCumHazardTables - allowed object is
BaseCumHazardTablespublic ModelVerification getModelVerification()
getModelVerification in class ModelModelVerificationpublic GeneralRegressionModel setModelVerification(ModelVerification modelVerification)
setModelVerification in class ModelmodelVerification - allowed object is
ModelVerificationpublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic GeneralRegressionModel addExtensions(Extension... extensions)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.