public class RuleSet extends Object
Java class for RuleSet element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="RuleSet">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.dmg.org/PMML-4_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_1}RuleSelectionMethod" maxOccurs="unbounded"/>
<element ref="{http://www.dmg.org/PMML-4_1}ScoreDistribution" maxOccurs="unbounded" minOccurs="0"/>
<group ref="{http://www.dmg.org/PMML-4_1}Rule" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="defaultConfidence" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
<attribute name="defaultScore" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="nbCorrect" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
<attribute name="recordCount" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
</restriction>
</complexContent>
</complexType>
</element>
| Constructor and Description |
|---|
RuleSet() |
| Modifier and Type | Method and Description |
|---|---|
Double |
getDefaultConfidence()
Gets the value of the defaultConfidence property.
|
String |
getDefaultScore()
Gets the value of the defaultScore property.
|
List<Extension> |
getExtension()
Gets the value of the extension property.
|
Double |
getNbCorrect()
Gets the value of the nbCorrect property.
|
Double |
getRecordCount()
Gets the value of the recordCount property.
|
List<Object> |
getRule()
Gets the value of the rule property.
|
List<RuleSelectionMethod> |
getRuleSelectionMethod()
Gets the value of the ruleSelectionMethod property.
|
List<ScoreDistribution> |
getScoreDistribution()
Gets the value of the scoreDistribution property.
|
void |
setDefaultConfidence(Double value)
Sets the value of the defaultConfidence property.
|
void |
setDefaultScore(String value)
Sets the value of the defaultScore property.
|
void |
setNbCorrect(Double value)
Sets the value of the nbCorrect property.
|
void |
setRecordCount(Double value)
Sets the value of the recordCount property.
|
public List<Extension> getExtension()
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 extension property.
For example, to add a new item, do as follows:
getExtension().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
public List<RuleSelectionMethod> getRuleSelectionMethod()
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 ruleSelectionMethod property.
For example, to add a new item, do as follows:
getRuleSelectionMethod().add(newItem);
Objects of the following type(s) are allowed in the list
RuleSelectionMethod
public List<ScoreDistribution> getScoreDistribution()
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 scoreDistribution property.
For example, to add a new item, do as follows:
getScoreDistribution().add(newItem);
Objects of the following type(s) are allowed in the list
ScoreDistribution
public List<Object> getRule()
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 rule property.
For example, to add a new item, do as follows:
getRule().add(newItem);
Objects of the following type(s) are allowed in the list
SimpleRule
CompoundRule
public Double getDefaultConfidence()
Doublepublic void setDefaultConfidence(Double value)
value - allowed object is
Doublepublic String getDefaultScore()
Stringpublic void setDefaultScore(String value)
value - allowed object is
Stringpublic Double getNbCorrect()
Doublepublic void setNbCorrect(Double value)
value - allowed object is
Doublepublic Double getRecordCount()
DoubleCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.