public class TreeModel 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_2}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}MiningSchema"/>
<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}ModelExplanation" 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}Node"/>
<element ref="{http://www.dmg.org/PMML-4_2}ModelVerification" minOccurs="0"/>
</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>
<attribute name="isScorable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
TreeModel.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 MiningSchema |
miningSchema |
protected java.lang.Double |
missingValuePenalty |
protected MissingValueStrategyType |
missingValueStrategy |
protected ModelExplanation |
modelExplanation |
protected java.lang.String |
modelName |
protected ModelStats |
modelStats |
protected ModelVerification |
modelVerification |
protected Node |
node |
protected NoTrueChildStrategyType |
noTrueChildStrategy |
protected Output |
output |
protected java.lang.Boolean |
scorable |
protected TreeModel.SplitCharacteristic |
splitCharacteristic |
protected Targets |
targets |
| Constructor and Description |
|---|
TreeModel() |
TreeModel(MiningFunctionType functionName,
MiningSchema miningSchema,
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.
|
MiningSchema |
getMiningSchema()
Gets the value of the miningSchema property.
|
double |
getMissingValuePenalty()
Gets the value of the missingValuePenalty property.
|
MissingValueStrategyType |
getMissingValueStrategy()
Gets the value of the missingValueStrategy property.
|
ModelExplanation |
getModelExplanation()
Gets the value of the modelExplanation property.
|
java.lang.String |
getModelName()
Gets the value of the modelName property.
|
ModelStats |
getModelStats()
Gets the value of the modelStats property.
|
ModelVerification |
getModelVerification()
Gets the value of the modelVerification 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.
|
TreeModel.SplitCharacteristic |
getSplitCharacteristic()
Gets the value of the splitCharacteristic property.
|
Targets |
getTargets()
Gets the value of the targets property.
|
boolean |
hasExtensions() |
boolean |
isScorable()
Gets the value of the scorable property.
|
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 |
setMiningSchema(MiningSchema value)
Sets the value of the miningSchema 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 |
setModelExplanation(ModelExplanation value)
Sets the value of the modelExplanation 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 |
setModelVerification(ModelVerification value)
Sets the value of the modelVerification 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 |
setScorable(java.lang.Boolean value)
Sets the value of the scorable property.
|
void |
setSplitCharacteristic(TreeModel.SplitCharacteristic value)
Sets the value of the splitCharacteristic property.
|
void |
setTargets(Targets value)
Sets the value of the targets property.
|
TreeModel |
withAlgorithmName(java.lang.String value) |
TreeModel |
withExtensions(java.util.Collection<Extension> values) |
TreeModel |
withExtensions(Extension... values) |
TreeModel |
withFunctionName(MiningFunctionType value) |
TreeModel |
withLocalTransformations(LocalTransformations value) |
TreeModel |
withMiningSchema(MiningSchema value) |
TreeModel |
withMissingValuePenalty(java.lang.Double value) |
TreeModel |
withMissingValueStrategy(MissingValueStrategyType value) |
TreeModel |
withModelExplanation(ModelExplanation value) |
TreeModel |
withModelName(java.lang.String value) |
TreeModel |
withModelStats(ModelStats value) |
TreeModel |
withModelVerification(ModelVerification value) |
TreeModel |
withNode(Node value) |
TreeModel |
withNoTrueChildStrategy(NoTrueChildStrategyType value) |
TreeModel |
withOutput(Output value) |
TreeModel |
withScorable(java.lang.Boolean value) |
TreeModel |
withSplitCharacteristic(TreeModel.SplitCharacteristic value) |
TreeModel |
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 TreeModel.SplitCharacteristic splitCharacteristic
protected java.lang.Boolean scorable
protected java.util.List<Extension> extensions
protected MiningSchema miningSchema
protected Output output
protected ModelStats modelStats
protected ModelExplanation modelExplanation
protected Targets targets
protected LocalTransformations localTransformations
protected Node node
protected ModelVerification modelVerification
public TreeModel()
public TreeModel(MiningFunctionType functionName, MiningSchema miningSchema, Node node)
public java.lang.String getModelName()
getModelName in class ModelStringpublic void setModelName(java.lang.String value)
setModelName in class Modelvalue - allowed object is
Stringpublic MiningFunctionType getFunctionName()
getFunctionName in class ModelMiningFunctionTypepublic void setFunctionName(MiningFunctionType value)
setFunctionName in class Modelvalue - allowed object is
MiningFunctionTypepublic java.lang.String getAlgorithmName()
getAlgorithmName in class ModelStringpublic void setAlgorithmName(java.lang.String value)
setAlgorithmName in class Modelvalue - 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 TreeModel.SplitCharacteristic getSplitCharacteristic()
TreeModel.SplitCharacteristicpublic void setSplitCharacteristic(TreeModel.SplitCharacteristic value)
value - allowed object is
TreeModel.SplitCharacteristicpublic boolean isScorable()
isScorable in class ModelBooleanpublic void setScorable(java.lang.Boolean value)
setScorable in class Modelvalue - allowed object is
Booleanpublic 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 MiningSchema getMiningSchema()
getMiningSchema in class ModelMiningSchemapublic void setMiningSchema(MiningSchema value)
setMiningSchema in class Modelvalue - allowed object is
MiningSchemapublic Output getOutput()
public void setOutput(Output value)
public ModelStats getModelStats()
getModelStats in class ModelModelStatspublic void setModelStats(ModelStats value)
setModelStats in class Modelvalue - allowed object is
ModelStatspublic ModelExplanation getModelExplanation()
getModelExplanation in class ModelModelExplanationpublic void setModelExplanation(ModelExplanation value)
setModelExplanation in class Modelvalue - allowed object is
ModelExplanationpublic Targets getTargets()
getTargets in class ModelTargetspublic void setTargets(Targets value)
setTargets in class Modelvalue - allowed object is
Targetspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic void setLocalTransformations(LocalTransformations value)
setLocalTransformations in class Modelvalue - allowed object is
LocalTransformationspublic void setNode(Node value)
value - allowed object is
Nodepublic ModelVerification getModelVerification()
getModelVerification in class ModelModelVerificationpublic void setModelVerification(ModelVerification value)
setModelVerification in class Modelvalue - allowed object is
ModelVerificationpublic TreeModel withModelName(java.lang.String value)
public TreeModel withFunctionName(MiningFunctionType value)
public TreeModel withAlgorithmName(java.lang.String value)
public TreeModel withMissingValueStrategy(MissingValueStrategyType value)
public TreeModel withMissingValuePenalty(java.lang.Double value)
public TreeModel withNoTrueChildStrategy(NoTrueChildStrategyType value)
public TreeModel withSplitCharacteristic(TreeModel.SplitCharacteristic value)
public TreeModel withScorable(java.lang.Boolean value)
public TreeModel withMiningSchema(MiningSchema value)
public TreeModel withModelStats(ModelStats value)
public TreeModel withModelExplanation(ModelExplanation value)
public TreeModel withLocalTransformations(LocalTransformations value)
public TreeModel withModelVerification(ModelVerification value)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.