public class DecisionTree extends EmbeddedModel 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_2}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Output" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ModelStats" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Targets" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}LocalTransformations" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ResultField" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Node"/>
</sequence>
<attribute name="modelName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="functionName" use="required" type="{http://www.dmg.org/PMML-4_2}MINING-FUNCTION" />
<attribute name="algorithmName" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="missingValueStrategy" type="{http://www.dmg.org/PMML-4_2}MISSING-VALUE-STRATEGY" default="none" />
<attribute name="missingValuePenalty" type="{http://www.dmg.org/PMML-4_2}PROB-NUMBER" default="1.0" />
<attribute name="noTrueChildStrategy" type="{http://www.dmg.org/PMML-4_2}NO-TRUE-CHILD-STRATEGY" default="returnNullPrediction" />
<attribute name="splitCharacteristic" default="multiSplit">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="binarySplit"/>
<enumeration value="multiSplit"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
DecisionTree.SplitCharacteristic
Java class for null.
|
| Constructor and Description |
|---|
DecisionTree() |
DecisionTree(MiningFunctionType functionName,
Node node) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
DecisionTree |
addExtensions(Extension... extensions) |
DecisionTree |
addResultFields(ResultField... resultFields) |
String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
MiningFunctionType |
getFunctionName()
Gets the value of the functionName property.
|
LocalTransformations |
getLocalTransformations()
Gets the value of the localTransformations property.
|
double |
getMissingValuePenalty()
Gets the value of the missingValuePenalty property.
|
MissingValueStrategyType |
getMissingValueStrategy()
Gets the value of the missingValueStrategy property.
|
String |
getModelName()
Gets the value of the modelName property.
|
ModelStats |
getModelStats()
Gets the value of the modelStats property.
|
Node |
getNode()
Gets the value of the node property.
|
NoTrueChildStrategyType |
getNoTrueChildStrategy()
Gets the value of the noTrueChildStrategy property.
|
Output |
getOutput()
Gets the value of the output property.
|
List<ResultField> |
getResultFields()
Gets the value of the resultFields property.
|
DecisionTree.SplitCharacteristic |
getSplitCharacteristic()
Gets the value of the splitCharacteristic property.
|
Targets |
getTargets()
Gets the value of the targets property.
|
boolean |
hasExtensions() |
boolean |
hasResultFields() |
DecisionTree |
setAlgorithmName(String algorithmName)
Sets the value of the algorithmName property.
|
DecisionTree |
setFunctionName(MiningFunctionType functionName)
Sets the value of the functionName property.
|
DecisionTree |
setLocalTransformations(LocalTransformations localTransformations)
Sets the value of the localTransformations property.
|
DecisionTree |
setMissingValuePenalty(Double missingValuePenalty)
Sets the value of the missingValuePenalty property.
|
DecisionTree |
setMissingValueStrategy(MissingValueStrategyType missingValueStrategy)
Sets the value of the missingValueStrategy property.
|
DecisionTree |
setModelName(String modelName)
Sets the value of the modelName property.
|
DecisionTree |
setModelStats(ModelStats modelStats)
Sets the value of the modelStats property.
|
DecisionTree |
setNode(Node node)
Sets the value of the node property.
|
DecisionTree |
setNoTrueChildStrategy(NoTrueChildStrategyType noTrueChildStrategy)
Sets the value of the noTrueChildStrategy property.
|
DecisionTree |
setOutput(Output output)
Sets the value of the output property.
|
DecisionTree |
setSplitCharacteristic(DecisionTree.SplitCharacteristic splitCharacteristic)
Sets the value of the splitCharacteristic property.
|
DecisionTree |
setTargets(Targets targets)
Sets the value of the targets property.
|
getLocator, setLocatorpublic DecisionTree()
public DecisionTree(MiningFunctionType functionName, Node node)
public String getModelName()
getModelName in class EmbeddedModelStringpublic DecisionTree setModelName(String modelName)
setModelName in class EmbeddedModelmodelName - allowed object is
Stringpublic MiningFunctionType getFunctionName()
getFunctionName in class EmbeddedModelMiningFunctionTypepublic DecisionTree setFunctionName(MiningFunctionType functionName)
setFunctionName in class EmbeddedModelfunctionName - allowed object is
MiningFunctionTypepublic String getAlgorithmName()
Stringpublic DecisionTree setAlgorithmName(String algorithmName)
algorithmName - allowed object is
Stringpublic MissingValueStrategyType getMissingValueStrategy()
MissingValueStrategyTypepublic DecisionTree setMissingValueStrategy(MissingValueStrategyType missingValueStrategy)
missingValueStrategy - allowed object is
MissingValueStrategyTypepublic double getMissingValuePenalty()
Stringpublic DecisionTree setMissingValuePenalty(Double missingValuePenalty)
missingValuePenalty - allowed object is
Stringpublic NoTrueChildStrategyType getNoTrueChildStrategy()
NoTrueChildStrategyTypepublic DecisionTree setNoTrueChildStrategy(NoTrueChildStrategyType noTrueChildStrategy)
noTrueChildStrategy - allowed object is
NoTrueChildStrategyTypepublic DecisionTree.SplitCharacteristic getSplitCharacteristic()
DecisionTree.SplitCharacteristicpublic DecisionTree setSplitCharacteristic(DecisionTree.SplitCharacteristic splitCharacteristic)
splitCharacteristic - allowed object is
DecisionTree.SplitCharacteristicpublic 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 Output getOutput()
getOutput in class EmbeddedModelOutputpublic DecisionTree setOutput(Output output)
setOutput in class EmbeddedModeloutput - allowed object is
Outputpublic ModelStats getModelStats()
getModelStats in class EmbeddedModelModelStatspublic DecisionTree setModelStats(ModelStats modelStats)
setModelStats in class EmbeddedModelmodelStats - allowed object is
ModelStatspublic Targets getTargets()
getTargets in class EmbeddedModelTargetspublic DecisionTree setTargets(Targets targets)
setTargets in class EmbeddedModeltargets - allowed object is
Targetspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class EmbeddedModelLocalTransformationspublic DecisionTree setLocalTransformations(LocalTransformations localTransformations)
setLocalTransformations in class EmbeddedModellocalTransformations - allowed object is
LocalTransformationspublic List<ResultField> getResultFields()
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 resultFields property.
For example, to add a new item, do as follows:
getResultFields().add(newItem);
Objects of the following type(s) are allowed in the list
ResultField
public DecisionTree setNode(Node node)
node - allowed object is
Nodepublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic DecisionTree addExtensions(Extension... extensions)
public boolean hasResultFields()
public DecisionTree addResultFields(ResultField... resultFields)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.