public class Node extends Object implements Serializable
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"/>
<group ref="{http://www.dmg.org/PMML-4_2}PREDICATE"/>
<choice>
<sequence>
<element ref="{http://www.dmg.org/PMML-4_2}Partition" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}ScoreDistribution" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Node" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<group ref="{http://www.dmg.org/PMML-4_2}EmbeddedModel"/>
</choice>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="score" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="recordCount" type="{http://www.dmg.org/PMML-4_2}NUMBER" />
<attribute name="defaultChild" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected DecisionTree |
decisionTree |
protected String |
defaultChild |
protected List<Serializable> |
extensionsAndSimplePredicatesAndCompoundPredicates |
protected String |
id |
protected List<Node> |
nodes |
protected Partition |
partition |
protected Double |
recordCount |
protected Regression |
regression |
protected String |
score |
protected List<ScoreDistribution> |
scoreDistributions |
| Constructor and Description |
|---|
Node() |
| Modifier and Type | Method and Description |
|---|---|
DecisionTree |
getDecisionTree()
Gets the value of the decisionTree property.
|
String |
getDefaultChild()
Gets the value of the defaultChild property.
|
List<Serializable> |
getExtensionsAndSimplePredicatesAndCompoundPredicates()
Gets the value of the extensionsAndSimplePredicatesAndCompoundPredicates property.
|
String |
getId()
Gets the value of the id property.
|
List<Node> |
getNodes()
Gets the value of the nodes property.
|
Partition |
getPartition()
Gets the value of the partition property.
|
Double |
getRecordCount()
Gets the value of the recordCount property.
|
Regression |
getRegression()
Gets the value of the regression property.
|
String |
getScore()
Gets the value of the score property.
|
List<ScoreDistribution> |
getScoreDistributions()
Gets the value of the scoreDistributions property.
|
void |
setDecisionTree(DecisionTree value)
Sets the value of the decisionTree property.
|
void |
setDefaultChild(String value)
Sets the value of the defaultChild property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setPartition(Partition value)
Sets the value of the partition property.
|
void |
setRecordCount(Double value)
Sets the value of the recordCount property.
|
void |
setRegression(Regression value)
Sets the value of the regression property.
|
void |
setScore(String value)
Sets the value of the score property.
|
protected List<Serializable> extensionsAndSimplePredicatesAndCompoundPredicates
protected DecisionTree decisionTree
protected Regression regression
protected Partition partition
protected List<ScoreDistribution> scoreDistributions
protected String id
protected String score
protected Double recordCount
protected String defaultChild
public List<Serializable> getExtensionsAndSimplePredicatesAndCompoundPredicates()
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 extensionsAndSimplePredicatesAndCompoundPredicates property.
For example, to add a new item, do as follows:
getExtensionsAndSimplePredicatesAndCompoundPredicates().add(newItem);
Objects of the following type(s) are allowed in the list
SimplePredicate
True
CompoundPredicate
SimpleSetPredicate
False
Extension
public DecisionTree getDecisionTree()
DecisionTreepublic void setDecisionTree(DecisionTree value)
value - allowed object is
DecisionTreepublic Regression getRegression()
Regressionpublic void setRegression(Regression value)
value - allowed object is
Regressionpublic Partition getPartition()
Partitionpublic void setPartition(Partition value)
value - allowed object is
Partitionpublic List<ScoreDistribution> getScoreDistributions()
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 scoreDistributions property.
For example, to add a new item, do as follows:
getScoreDistributions().add(newItem);
Objects of the following type(s) are allowed in the list
ScoreDistribution
public List<Node> getNodes()
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 nodes property.
For example, to add a new item, do as follows:
getNodes().add(newItem);
Objects of the following type(s) are allowed in the list
Node
public void setId(String value)
value - allowed object is
Stringpublic String getScore()
Stringpublic void setScore(String value)
value - allowed object is
Stringpublic Double getRecordCount()
Doublepublic void setRecordCount(Double value)
value - allowed object is
Doublepublic String getDefaultChild()
StringCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.