Package org.dmg.pmml.general_regression
Class GeneralRegressionModel
- java.lang.Object
-
- org.dmg.pmml.PMMLObject
-
- org.dmg.pmml.Model
-
- org.dmg.pmml.general_regression.GeneralRegressionModel
-
- All Implemented Interfaces:
java.io.Serializable,HasExtensions<GeneralRegressionModel>,HasLocator,Visitable
public class GeneralRegressionModel extends Model implements HasExtensions<GeneralRegressionModel>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeneralRegressionModel.CumulativeLinkFunctionstatic classGeneralRegressionModel.Distributionstatic classGeneralRegressionModel.LinkFunctionstatic classGeneralRegressionModel.ModelType
-
Constructor Summary
Constructors Constructor Description GeneralRegressionModel()GeneralRegressionModel(GeneralRegressionModel.ModelType modelType, MiningFunction miningFunction, MiningSchema miningSchema, ParameterList parameterList, PPMatrix ppMatrix, ParamMatrix paramMatrix)
-
Method Summary
-
Methods inherited from class org.dmg.pmml.PMMLObject
getLocator, getSchemaVersion, getSchemaVersion, hasLocator, setLocator
-
-
-
-
Constructor Detail
-
GeneralRegressionModel
public GeneralRegressionModel()
-
GeneralRegressionModel
public GeneralRegressionModel(GeneralRegressionModel.ModelType modelType, MiningFunction miningFunction, MiningSchema miningSchema, ParameterList parameterList, PPMatrix ppMatrix, ParamMatrix paramMatrix)
-
-
Method Detail
-
getTargetVariable
public java.lang.String getTargetVariable()
-
setTargetVariable
public GeneralRegressionModel setTargetVariable(java.lang.String targetVariable)
-
requireModelType
public GeneralRegressionModel.ModelType requireModelType()
-
getModelType
public GeneralRegressionModel.ModelType getModelType()
-
setModelType
public GeneralRegressionModel setModelType(GeneralRegressionModel.ModelType modelType)
-
getModelName
public java.lang.String getModelName()
- Specified by:
getModelNamein classModel
-
setModelName
public GeneralRegressionModel setModelName(java.lang.String modelName)
- Specified by:
setModelNamein classModel
-
requireMiningFunction
public MiningFunction requireMiningFunction()
- Specified by:
requireMiningFunctionin classModel
-
getMiningFunction
public MiningFunction getMiningFunction()
- Specified by:
getMiningFunctionin classModel
-
setMiningFunction
public GeneralRegressionModel setMiningFunction(MiningFunction miningFunction)
- Specified by:
setMiningFunctionin classModel
-
getAlgorithmName
public java.lang.String getAlgorithmName()
- Specified by:
getAlgorithmNamein classModel
-
setAlgorithmName
public GeneralRegressionModel setAlgorithmName(java.lang.String algorithmName)
- Specified by:
setAlgorithmNamein classModel
-
getTargetReferenceCategory
public java.lang.Object getTargetReferenceCategory()
-
setTargetReferenceCategory
public GeneralRegressionModel setTargetReferenceCategory(java.lang.Object targetReferenceCategory)
-
requireCumulativeLinkFunction
public GeneralRegressionModel.CumulativeLinkFunction requireCumulativeLinkFunction()
-
getCumulativeLinkFunction
public GeneralRegressionModel.CumulativeLinkFunction getCumulativeLinkFunction()
-
setCumulativeLinkFunction
public GeneralRegressionModel setCumulativeLinkFunction(GeneralRegressionModel.CumulativeLinkFunction cumulativeLinkFunction)
-
requireLinkFunction
public GeneralRegressionModel.LinkFunction requireLinkFunction()
-
getLinkFunction
public GeneralRegressionModel.LinkFunction getLinkFunction()
-
setLinkFunction
public GeneralRegressionModel setLinkFunction(GeneralRegressionModel.LinkFunction linkFunction)
-
requireLinkParameter
public java.lang.Number requireLinkParameter()
-
getLinkParameter
public java.lang.Number getLinkParameter()
-
setLinkParameter
public GeneralRegressionModel setLinkParameter(java.lang.Number linkParameter)
-
getTrialsVariable
public java.lang.String getTrialsVariable()
-
setTrialsVariable
public GeneralRegressionModel setTrialsVariable(java.lang.String trialsVariable)
-
getTrialsValue
public java.lang.Integer getTrialsValue()
-
setTrialsValue
public GeneralRegressionModel setTrialsValue(java.lang.Integer trialsValue)
-
getDistribution
public GeneralRegressionModel.Distribution getDistribution()
-
setDistribution
public GeneralRegressionModel setDistribution(GeneralRegressionModel.Distribution distribution)
-
requireDistParameter
public java.lang.Number requireDistParameter()
-
getDistParameter
public java.lang.Number getDistParameter()
-
setDistParameter
public GeneralRegressionModel setDistParameter(java.lang.Number distParameter)
-
getOffsetVariable
public java.lang.String getOffsetVariable()
-
setOffsetVariable
public GeneralRegressionModel setOffsetVariable(java.lang.String offsetVariable)
-
getOffsetValue
public java.lang.Number getOffsetValue()
-
setOffsetValue
public GeneralRegressionModel setOffsetValue(java.lang.Number offsetValue)
-
getModelDF
public java.lang.Number getModelDF()
-
setModelDF
public GeneralRegressionModel setModelDF(java.lang.Number modelDF)
-
getEndTimeVariable
public java.lang.String getEndTimeVariable()
-
setEndTimeVariable
public GeneralRegressionModel setEndTimeVariable(java.lang.String endTimeVariable)
-
getStartTimeVariable
public java.lang.String getStartTimeVariable()
-
setStartTimeVariable
public GeneralRegressionModel setStartTimeVariable(java.lang.String startTimeVariable)
-
getSubjectIDVariable
public java.lang.String getSubjectIDVariable()
-
setSubjectIDVariable
public GeneralRegressionModel setSubjectIDVariable(java.lang.String subjectIDVariable)
-
getStatusVariable
public java.lang.String getStatusVariable()
-
setStatusVariable
public GeneralRegressionModel setStatusVariable(java.lang.String statusVariable)
-
getBaselineStrataVariable
public java.lang.String getBaselineStrataVariable()
-
setBaselineStrataVariable
public GeneralRegressionModel setBaselineStrataVariable(java.lang.String baselineStrataVariable)
-
isScorable
public boolean isScorable()
- Specified by:
isScorablein classModel
-
setScorable
public GeneralRegressionModel setScorable(java.lang.Boolean scorable)
- Specified by:
setScorablein classModel
-
getMathContext
public MathContext getMathContext()
- Specified by:
getMathContextin classModel
-
setMathContext
public GeneralRegressionModel setMathContext(MathContext mathContext)
- Specified by:
setMathContextin classModel
-
hasExtensions
public boolean hasExtensions()
- Specified by:
hasExtensionsin interfaceHasExtensions<GeneralRegressionModel>
-
getExtensions
public java.util.List<Extension> getExtensions()
- Specified by:
getExtensionsin interfaceHasExtensions<GeneralRegressionModel>
-
addExtensions
public GeneralRegressionModel addExtensions(Extension... extensions)
- Specified by:
addExtensionsin interfaceHasExtensions<GeneralRegressionModel>
-
requireMiningSchema
public MiningSchema requireMiningSchema()
- Specified by:
requireMiningSchemain classModel
-
getMiningSchema
public MiningSchema getMiningSchema()
- Specified by:
getMiningSchemain classModel
-
setMiningSchema
public GeneralRegressionModel setMiningSchema(MiningSchema miningSchema)
- Specified by:
setMiningSchemain classModel
-
setOutput
public GeneralRegressionModel setOutput(Output output)
-
getModelStats
public ModelStats getModelStats()
- Overrides:
getModelStatsin classModel
-
setModelStats
public GeneralRegressionModel setModelStats(ModelStats modelStats)
- Overrides:
setModelStatsin classModel
-
getModelExplanation
public ModelExplanation getModelExplanation()
- Overrides:
getModelExplanationin classModel
-
setModelExplanation
public GeneralRegressionModel setModelExplanation(ModelExplanation modelExplanation)
- Overrides:
setModelExplanationin classModel
-
getTargets
public Targets getTargets()
- Overrides:
getTargetsin classModel
-
setTargets
public GeneralRegressionModel setTargets(Targets targets)
- Overrides:
setTargetsin classModel
-
getLocalTransformations
public LocalTransformations getLocalTransformations()
- Specified by:
getLocalTransformationsin classModel
-
setLocalTransformations
public GeneralRegressionModel setLocalTransformations(LocalTransformations localTransformations)
- Specified by:
setLocalTransformationsin classModel
-
requireParameterList
public ParameterList requireParameterList()
-
getParameterList
public ParameterList getParameterList()
-
setParameterList
public GeneralRegressionModel setParameterList(ParameterList parameterList)
-
getFactorList
public FactorList getFactorList()
-
setFactorList
public GeneralRegressionModel setFactorList(FactorList factorList)
-
getCovariateList
public CovariateList getCovariateList()
-
setCovariateList
public GeneralRegressionModel setCovariateList(CovariateList covariateList)
-
requirePPMatrix
public PPMatrix requirePPMatrix()
-
getPPMatrix
public PPMatrix getPPMatrix()
-
setPPMatrix
public GeneralRegressionModel setPPMatrix(PPMatrix ppMatrix)
-
getPCovMatrix
public PCovMatrix getPCovMatrix()
-
setPCovMatrix
public GeneralRegressionModel setPCovMatrix(PCovMatrix pCovMatrix)
-
requireParamMatrix
public ParamMatrix requireParamMatrix()
-
getParamMatrix
public ParamMatrix getParamMatrix()
-
setParamMatrix
public GeneralRegressionModel setParamMatrix(ParamMatrix paramMatrix)
-
getEventValues
public EventValues getEventValues()
-
setEventValues
public GeneralRegressionModel setEventValues(EventValues eventValues)
-
requireBaseCumHazardTables
public BaseCumHazardTables requireBaseCumHazardTables()
-
getBaseCumHazardTables
public BaseCumHazardTables getBaseCumHazardTables()
-
setBaseCumHazardTables
public GeneralRegressionModel setBaseCumHazardTables(BaseCumHazardTables baseCumHazardTables)
-
getModelVerification
public ModelVerification getModelVerification()
- Overrides:
getModelVerificationin classModel
-
setModelVerification
public GeneralRegressionModel setModelVerification(ModelVerification modelVerification)
- Overrides:
setModelVerificationin classModel
-
accept
public VisitorAction accept(Visitor visitor)
-
-