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.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
algorithmName |
protected java.util.List<Extension> |
extensions |
protected MiningFunctionType |
functionName |
protected LocalTransformations |
localTransformations |
protected java.lang.Double |
missingValuePenalty |
protected MissingValueStrategyType |
missingValueStrategy |
protected java.lang.String |
modelName |
protected ModelStats |
modelStats |
protected Node |
node |
protected NoTrueChildStrategyType |
noTrueChildStrategy |
protected Output |
output |
protected java.util.List<ResultField> |
resultFields |
protected DecisionTree.SplitCharacteristic |
splitCharacteristic |
protected Targets |
targets |
| Constructor and Description |
|---|
DecisionTree() |
DecisionTree(MiningFunctionType functionName,
Node node) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.lang.String |
getAlgorithmName()
Gets the value of the algorithmName property.
|
java.util.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.
|
java.lang.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.
|
java.util.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() |
void |
setAlgorithmName(java.lang.String value)
Sets the value of the algorithmName property.
|
void |
setFunctionName(MiningFunctionType value)
Sets the value of the functionName property.
|
void |
setLocalTransformations(LocalTransformations value)
Sets the value of the localTransformations property.
|
void |
setMissingValuePenalty(java.lang.Double value)
Sets the value of the missingValuePenalty property.
|
void |
setMissingValueStrategy(MissingValueStrategyType value)
Sets the value of the missingValueStrategy property.
|
void |
setModelName(java.lang.String value)
Sets the value of the modelName property.
|
void |
setModelStats(ModelStats value)
Sets the value of the modelStats property.
|
void |
setNode(Node value)
Sets the value of the node property.
|
void |
setNoTrueChildStrategy(NoTrueChildStrategyType value)
Sets the value of the noTrueChildStrategy property.
|
void |
setOutput(Output value)
Sets the value of the output property.
|
void |
setSplitCharacteristic(DecisionTree.SplitCharacteristic value)
Sets the value of the splitCharacteristic property.
|
void |
setTargets(Targets value)
Sets the value of the targets property.
|
DecisionTree |
withAlgorithmName(java.lang.String value) |
DecisionTree |
withExtensions(java.util.Collection<Extension> values) |
DecisionTree |
withExtensions(Extension... values) |
DecisionTree |
withFunctionName(MiningFunctionType value) |
DecisionTree |
withLocalTransformations(LocalTransformations value) |
DecisionTree |
withMissingValuePenalty(java.lang.Double value) |
DecisionTree |
withMissingValueStrategy(MissingValueStrategyType value) |
DecisionTree |
withModelName(java.lang.String value) |
DecisionTree |
withModelStats(ModelStats value) |
DecisionTree |
withNode(Node value) |
DecisionTree |
withNoTrueChildStrategy(NoTrueChildStrategyType value) |
DecisionTree |
withOutput(Output value) |
DecisionTree |
withResultFields(java.util.Collection<ResultField> values) |
DecisionTree |
withResultFields(ResultField... values) |
DecisionTree |
withSplitCharacteristic(DecisionTree.SplitCharacteristic value) |
DecisionTree |
withTargets(Targets value) |
getLocator, setLocatorprotected java.lang.String modelName
protected MiningFunctionType functionName
protected java.lang.String algorithmName
protected MissingValueStrategyType missingValueStrategy
protected java.lang.Double missingValuePenalty
protected NoTrueChildStrategyType noTrueChildStrategy
protected DecisionTree.SplitCharacteristic splitCharacteristic
protected java.util.List<Extension> extensions
protected Output output
protected ModelStats modelStats
protected Targets targets
protected LocalTransformations localTransformations
protected java.util.List<ResultField> resultFields
protected Node node
public DecisionTree()
public DecisionTree(MiningFunctionType functionName, Node node)
public java.lang.String getModelName()
getModelName in class EmbeddedModelStringpublic void setModelName(java.lang.String value)
setModelName in class EmbeddedModelvalue - allowed object is
Stringpublic MiningFunctionType getFunctionName()
getFunctionName in class EmbeddedModelMiningFunctionTypepublic void setFunctionName(MiningFunctionType value)
setFunctionName in class EmbeddedModelvalue - allowed object is
MiningFunctionTypepublic java.lang.String getAlgorithmName()
Stringpublic void setAlgorithmName(java.lang.String value)
value - allowed object is
Stringpublic MissingValueStrategyType getMissingValueStrategy()
MissingValueStrategyTypepublic void setMissingValueStrategy(MissingValueStrategyType value)
value - allowed object is
MissingValueStrategyTypepublic double getMissingValuePenalty()
Stringpublic void setMissingValuePenalty(java.lang.Double value)
value - allowed object is
Stringpublic NoTrueChildStrategyType getNoTrueChildStrategy()
NoTrueChildStrategyTypepublic void setNoTrueChildStrategy(NoTrueChildStrategyType value)
value - allowed object is
NoTrueChildStrategyTypepublic DecisionTree.SplitCharacteristic getSplitCharacteristic()
DecisionTree.SplitCharacteristicpublic void setSplitCharacteristic(DecisionTree.SplitCharacteristic value)
value - allowed object is
DecisionTree.SplitCharacteristicpublic java.util.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 void setOutput(Output value)
setOutput in class EmbeddedModelvalue - allowed object is
Outputpublic ModelStats getModelStats()
getModelStats in class EmbeddedModelModelStatspublic void setModelStats(ModelStats value)
setModelStats in class EmbeddedModelvalue - allowed object is
ModelStatspublic Targets getTargets()
getTargets in class EmbeddedModelTargetspublic void setTargets(Targets value)
setTargets in class EmbeddedModelvalue - allowed object is
Targetspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class EmbeddedModelLocalTransformationspublic void setLocalTransformations(LocalTransformations value)
setLocalTransformations in class EmbeddedModelvalue - allowed object is
LocalTransformationspublic java.util.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 void setNode(Node value)
value - allowed object is
Nodepublic DecisionTree withModelName(java.lang.String value)
public DecisionTree withFunctionName(MiningFunctionType value)
public DecisionTree withAlgorithmName(java.lang.String value)
public DecisionTree withMissingValueStrategy(MissingValueStrategyType value)
public DecisionTree withMissingValuePenalty(java.lang.Double value)
public DecisionTree withNoTrueChildStrategy(NoTrueChildStrategyType value)
public DecisionTree withSplitCharacteristic(DecisionTree.SplitCharacteristic value)
public DecisionTree withExtensions(Extension... values)
public DecisionTree withExtensions(java.util.Collection<Extension> values)
public DecisionTree withOutput(Output value)
public DecisionTree withModelStats(ModelStats value)
public DecisionTree withTargets(Targets value)
public DecisionTree withLocalTransformations(LocalTransformations value)
public DecisionTree withResultFields(ResultField... values)
public DecisionTree withResultFields(java.util.Collection<ResultField> values)
public DecisionTree withNode(Node value)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasResultFields()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.