Package org.dmg.pmml.tree
Class TreeModel
- java.lang.Object
-
- org.dmg.pmml.PMMLObject
-
- org.dmg.pmml.Model
-
- org.dmg.pmml.tree.TreeModel
-
- All Implemented Interfaces:
java.io.Serializable,HasExtensions<TreeModel>,HasLocator,HasNode<TreeModel>,Visitable
public class TreeModel extends Model implements HasExtensions<TreeModel>, HasNode<TreeModel>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTreeModel.MissingValueStrategystatic classTreeModel.NoTrueChildStrategystatic classTreeModel.SplitCharacteristic
-
Constructor Summary
Constructors Constructor Description TreeModel()TreeModel(MiningFunction miningFunction, MiningSchema miningSchema, Node node)
-
Method Summary
-
Methods inherited from class org.dmg.pmml.PMMLObject
getLocator, getSchemaVersion, getSchemaVersion, hasLocator, setLocator
-
-
-
-
Constructor Detail
-
TreeModel
public TreeModel()
-
TreeModel
public TreeModel(MiningFunction miningFunction, MiningSchema miningSchema, Node node)
-
-
Method Detail
-
getModelName
public java.lang.String getModelName()
- Specified by:
getModelNamein classModel
-
setModelName
public TreeModel 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 TreeModel setMiningFunction(MiningFunction miningFunction)
- Specified by:
setMiningFunctionin classModel
-
getAlgorithmName
public java.lang.String getAlgorithmName()
- Specified by:
getAlgorithmNamein classModel
-
setAlgorithmName
public TreeModel setAlgorithmName(java.lang.String algorithmName)
- Specified by:
setAlgorithmNamein classModel
-
getMissingValueStrategy
public TreeModel.MissingValueStrategy getMissingValueStrategy()
- Specified by:
getMissingValueStrategyin interfaceHasNode<TreeModel>
-
setMissingValueStrategy
public TreeModel setMissingValueStrategy(TreeModel.MissingValueStrategy missingValueStrategy)
- Specified by:
setMissingValueStrategyin interfaceHasNode<TreeModel>
-
getMissingValuePenalty
public java.lang.Number getMissingValuePenalty()
- Specified by:
getMissingValuePenaltyin interfaceHasNode<TreeModel>
-
setMissingValuePenalty
public TreeModel setMissingValuePenalty(java.lang.Number missingValuePenalty)
- Specified by:
setMissingValuePenaltyin interfaceHasNode<TreeModel>
-
getNoTrueChildStrategy
public TreeModel.NoTrueChildStrategy getNoTrueChildStrategy()
- Specified by:
getNoTrueChildStrategyin interfaceHasNode<TreeModel>
-
setNoTrueChildStrategy
public TreeModel setNoTrueChildStrategy(TreeModel.NoTrueChildStrategy noTrueChildStrategy)
- Specified by:
setNoTrueChildStrategyin interfaceHasNode<TreeModel>
-
getSplitCharacteristic
public TreeModel.SplitCharacteristic getSplitCharacteristic()
- Specified by:
getSplitCharacteristicin interfaceHasNode<TreeModel>
-
setSplitCharacteristic
public TreeModel setSplitCharacteristic(TreeModel.SplitCharacteristic splitCharacteristic)
- Specified by:
setSplitCharacteristicin interfaceHasNode<TreeModel>
-
isScorable
public boolean isScorable()
- Specified by:
isScorablein classModel
-
setScorable
public TreeModel setScorable(java.lang.Boolean scorable)
- Specified by:
setScorablein classModel
-
getMathContext
public MathContext getMathContext()
- Specified by:
getMathContextin classModel
-
setMathContext
public TreeModel setMathContext(MathContext mathContext)
- Specified by:
setMathContextin classModel
-
hasExtensions
public boolean hasExtensions()
- Specified by:
hasExtensionsin interfaceHasExtensions<TreeModel>
-
getExtensions
public java.util.List<Extension> getExtensions()
- Specified by:
getExtensionsin interfaceHasExtensions<TreeModel>
-
addExtensions
public TreeModel addExtensions(Extension... extensions)
- Specified by:
addExtensionsin interfaceHasExtensions<TreeModel>
-
requireMiningSchema
public MiningSchema requireMiningSchema()
- Specified by:
requireMiningSchemain classModel
-
getMiningSchema
public MiningSchema getMiningSchema()
- Specified by:
getMiningSchemain classModel
-
setMiningSchema
public TreeModel setMiningSchema(MiningSchema miningSchema)
- Specified by:
setMiningSchemain classModel
-
getModelStats
public ModelStats getModelStats()
- Overrides:
getModelStatsin classModel
-
setModelStats
public TreeModel setModelStats(ModelStats modelStats)
- Overrides:
setModelStatsin classModel
-
getModelExplanation
public ModelExplanation getModelExplanation()
- Overrides:
getModelExplanationin classModel
-
setModelExplanation
public TreeModel setModelExplanation(ModelExplanation modelExplanation)
- Overrides:
setModelExplanationin classModel
-
getTargets
public Targets getTargets()
- Overrides:
getTargetsin classModel
-
setTargets
public TreeModel setTargets(Targets targets)
- Overrides:
setTargetsin classModel
-
getLocalTransformations
public LocalTransformations getLocalTransformations()
- Specified by:
getLocalTransformationsin classModel
-
setLocalTransformations
public TreeModel setLocalTransformations(LocalTransformations localTransformations)
- Specified by:
setLocalTransformationsin classModel
-
requireNode
public Node requireNode()
-
getModelVerification
public ModelVerification getModelVerification()
- Overrides:
getModelVerificationin classModel
-
setModelVerification
public TreeModel setModelVerification(ModelVerification modelVerification)
- Overrides:
setModelVerificationin classModel
-
accept
public VisitorAction accept(Visitor visitor)
-
-