public class RuleSet extends PMMLObject 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_3}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}RuleSelectionMethod" maxOccurs="unbounded"/>
<element ref="{http://www.dmg.org/PMML-4_3}ScoreDistribution" maxOccurs="unbounded" minOccurs="0"/>
<group ref="{http://www.dmg.org/PMML-4_3}Rule" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="recordCount" type="{http://www.dmg.org/PMML-4_3}NUMBER" />
<attribute name="nbCorrect" type="{http://www.dmg.org/PMML-4_3}NUMBER" />
<attribute name="defaultScore" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="defaultConfidence" type="{http://www.dmg.org/PMML-4_3}NUMBER" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
RuleSet() |
RuleSet(List<RuleSelectionMethod> ruleSelectionMethods) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
RuleSet |
addExtensions(Extension... extensions) |
RuleSet |
addRules(Rule... rules) |
RuleSet |
addRuleSelectionMethods(RuleSelectionMethod... ruleSelectionMethods) |
RuleSet |
addScoreDistributions(ScoreDistribution... scoreDistributions) |
Double |
getDefaultConfidence()
Gets the value of the defaultConfidence property.
|
String |
getDefaultScore()
Gets the value of the defaultScore property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
Double |
getNbCorrect()
Gets the value of the nbCorrect property.
|
Double |
getRecordCount()
Gets the value of the recordCount property.
|
List<Rule> |
getRules()
Gets the value of the rules property.
|
List<RuleSelectionMethod> |
getRuleSelectionMethods()
Gets the value of the ruleSelectionMethods property.
|
List<ScoreDistribution> |
getScoreDistributions()
Gets the value of the scoreDistributions property.
|
boolean |
hasExtensions() |
boolean |
hasRules() |
boolean |
hasRuleSelectionMethods() |
boolean |
hasScoreDistributions() |
RuleSet |
setDefaultConfidence(Double defaultConfidence)
Sets the value of the defaultConfidence property.
|
RuleSet |
setDefaultScore(String defaultScore)
Sets the value of the defaultScore property.
|
RuleSet |
setNbCorrect(Double nbCorrect)
Sets the value of the nbCorrect property.
|
RuleSet |
setRecordCount(Double recordCount)
Sets the value of the recordCount property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic RuleSet()
public RuleSet(List<RuleSelectionMethod> ruleSelectionMethods)
public Double getRecordCount()
Doublepublic RuleSet setRecordCount(Double recordCount)
recordCount - allowed object is
Doublepublic Double getNbCorrect()
Doublepublic RuleSet setNbCorrect(Double nbCorrect)
nbCorrect - allowed object is
Doublepublic String getDefaultScore()
Stringpublic RuleSet setDefaultScore(String defaultScore)
defaultScore - allowed object is
Stringpublic Double getDefaultConfidence()
Doublepublic RuleSet setDefaultConfidence(Double defaultConfidence)
defaultConfidence - allowed object is
Doublepublic 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 List<RuleSelectionMethod> getRuleSelectionMethods()
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 ruleSelectionMethods property.
For example, to add a new item, do as follows:
getRuleSelectionMethods().add(newItem);
Objects of the following type(s) are allowed in the list
RuleSelectionMethod
public 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<Rule> getRules()
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 rules property.
For example, to add a new item, do as follows:
getRules().add(newItem);
Objects of the following type(s) are allowed in the list
SimpleRule
CompoundRule
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasRuleSelectionMethods()
public RuleSet addRuleSelectionMethods(RuleSelectionMethod... ruleSelectionMethods)
public boolean hasScoreDistributions()
public RuleSet addScoreDistributions(ScoreDistribution... scoreDistributions)
public boolean hasRules()
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.