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.
|
| Constructor and Description |
|---|
TreeModel() |
TreeModel(MiningFunctionType functionName,
MiningSchema miningSchema,
Node node) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
TreeModel |
addExtensions(Extension... extensions) |
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.
|
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.
|
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.
|
TreeModel |
setAlgorithmName(String algorithmName)
Sets the value of the algorithmName property.
|
TreeModel |
setFunctionName(MiningFunctionType functionName)
Sets the value of the functionName property.
|
TreeModel |
setLocalTransformations(LocalTransformations localTransformations)
Sets the value of the localTransformations property.
|
TreeModel |
setMiningSchema(MiningSchema miningSchema)
Sets the value of the miningSchema property.
|
TreeModel |
setMissingValuePenalty(Double missingValuePenalty)
Sets the value of the missingValuePenalty property.
|
TreeModel |
setMissingValueStrategy(MissingValueStrategyType missingValueStrategy)
Sets the value of the missingValueStrategy property.
|
TreeModel |
setModelExplanation(ModelExplanation modelExplanation)
Sets the value of the modelExplanation property.
|
TreeModel |
setModelName(String modelName)
Sets the value of the modelName property.
|
TreeModel |
setModelStats(ModelStats modelStats)
Sets the value of the modelStats property.
|
TreeModel |
setModelVerification(ModelVerification modelVerification)
Sets the value of the modelVerification property.
|
TreeModel |
setNode(Node node)
Sets the value of the node property.
|
TreeModel |
setNoTrueChildStrategy(NoTrueChildStrategyType noTrueChildStrategy)
Sets the value of the noTrueChildStrategy property.
|
TreeModel |
setOutput(Output output)
Sets the value of the output property.
|
TreeModel |
setScorable(Boolean scorable)
Sets the value of the scorable property.
|
TreeModel |
setSplitCharacteristic(TreeModel.SplitCharacteristic splitCharacteristic)
Sets the value of the splitCharacteristic property.
|
TreeModel |
setTargets(Targets targets)
Sets the value of the targets property.
|
getLocator, setLocatorpublic TreeModel()
public TreeModel(MiningFunctionType functionName, MiningSchema miningSchema, Node node)
public String getModelName()
getModelName in class ModelStringpublic TreeModel setModelName(String modelName)
setModelName in class ModelmodelName - allowed object is
Stringpublic MiningFunctionType getFunctionName()
getFunctionName in class ModelMiningFunctionTypepublic TreeModel setFunctionName(MiningFunctionType functionName)
setFunctionName in class ModelfunctionName - allowed object is
MiningFunctionTypepublic String getAlgorithmName()
getAlgorithmName in class ModelStringpublic TreeModel setAlgorithmName(String algorithmName)
setAlgorithmName in class ModelalgorithmName - allowed object is
Stringpublic MissingValueStrategyType getMissingValueStrategy()
MissingValueStrategyTypepublic TreeModel setMissingValueStrategy(MissingValueStrategyType missingValueStrategy)
missingValueStrategy - allowed object is
MissingValueStrategyTypepublic Double getMissingValuePenalty()
Doublepublic TreeModel setMissingValuePenalty(Double missingValuePenalty)
missingValuePenalty - allowed object is
Doublepublic NoTrueChildStrategyType getNoTrueChildStrategy()
NoTrueChildStrategyTypepublic TreeModel setNoTrueChildStrategy(NoTrueChildStrategyType noTrueChildStrategy)
noTrueChildStrategy - allowed object is
NoTrueChildStrategyTypepublic TreeModel.SplitCharacteristic getSplitCharacteristic()
TreeModel.SplitCharacteristicpublic TreeModel setSplitCharacteristic(TreeModel.SplitCharacteristic splitCharacteristic)
splitCharacteristic - allowed object is
TreeModel.SplitCharacteristicpublic boolean isScorable()
isScorable in class ModelBooleanpublic TreeModel setScorable(Boolean scorable)
setScorable in class Modelscorable - allowed object is
Booleanpublic 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 TreeModel setMiningSchema(MiningSchema miningSchema)
setMiningSchema in class ModelminingSchema - allowed object is
MiningSchemapublic Output getOutput()
public ModelStats getModelStats()
getModelStats in class ModelModelStatspublic TreeModel setModelStats(ModelStats modelStats)
setModelStats in class ModelmodelStats - allowed object is
ModelStatspublic ModelExplanation getModelExplanation()
getModelExplanation in class ModelModelExplanationpublic TreeModel setModelExplanation(ModelExplanation modelExplanation)
setModelExplanation in class ModelmodelExplanation - allowed object is
ModelExplanationpublic Targets getTargets()
getTargets in class ModelTargetspublic TreeModel setTargets(Targets targets)
setTargets in class Modeltargets - allowed object is
Targetspublic LocalTransformations getLocalTransformations()
getLocalTransformations in class ModelLocalTransformationspublic TreeModel setLocalTransformations(LocalTransformations localTransformations)
setLocalTransformations in class ModellocalTransformations - allowed object is
LocalTransformationspublic TreeModel setNode(Node node)
node - allowed object is
Nodepublic ModelVerification getModelVerification()
getModelVerification in class ModelModelVerificationpublic TreeModel setModelVerification(ModelVerification modelVerification)
setModelVerification in class ModelmodelVerification - allowed object is
ModelVerificationpublic boolean hasExtensions()
hasExtensions in interface HasExtensionspublic VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All Rights Reserved.