public class RuleSet extends PMMLObject implements com.sun.xml.bind.Locatable, 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}RuleSelectionMethod" maxOccurs="unbounded"/>
<element ref="{http://www.dmg.org/PMML-4_2}ScoreDistribution" maxOccurs="unbounded" minOccurs="0"/>
<group ref="{http://www.dmg.org/PMML-4_2}Rule" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="recordCount" type="{http://www.dmg.org/PMML-4_2}NUMBER" />
<attribute name="nbCorrect" type="{http://www.dmg.org/PMML-4_2}NUMBER" />
<attribute name="defaultScore" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="defaultConfidence" type="{http://www.dmg.org/PMML-4_2}NUMBER" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Double |
defaultConfidence |
protected String |
defaultScore |
protected List<Extension> |
extensions |
protected Locator |
locator |
protected Double |
nbCorrect |
protected Double |
recordCount |
protected List<Rule> |
rules |
protected List<RuleSelectionMethod> |
ruleSelectionMethods |
protected List<ScoreDistribution> |
scoreDistributions |
| Constructor and Description |
|---|
RuleSet() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
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.
|
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.
|
void |
setSourceLocation(Locator newLocator) |
Locator |
sourceLocation() |
RuleSet |
withDefaultConfidence(Double value) |
RuleSet |
withDefaultScore(String value) |
RuleSet |
withExtensions(Collection<Extension> values) |
RuleSet |
withExtensions(Extension... values) |
RuleSet |
withNbCorrect(Double value) |
RuleSet |
withRecordCount(Double value) |
RuleSet |
withRules(Collection<Rule> values) |
RuleSet |
withRules(Rule... values) |
RuleSet |
withRuleSelectionMethods(Collection<RuleSelectionMethod> values) |
RuleSet |
withRuleSelectionMethods(RuleSelectionMethod... values) |
RuleSet |
withScoreDistributions(Collection<ScoreDistribution> values) |
RuleSet |
withScoreDistributions(ScoreDistribution... values) |
protected List<RuleSelectionMethod> ruleSelectionMethods
protected List<ScoreDistribution> scoreDistributions
protected Double recordCount
protected Double nbCorrect
protected String defaultScore
protected Double defaultConfidence
protected Locator locator
public 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 Double getRecordCount()
Doublepublic void setRecordCount(Double value)
value - allowed object is
Doublepublic Double getNbCorrect()
Doublepublic void setNbCorrect(Double value)
value - allowed object is
Doublepublic String getDefaultScore()
Stringpublic void setDefaultScore(String value)
value - allowed object is
Stringpublic Double getDefaultConfidence()
Doublepublic void setDefaultConfidence(Double value)
value - allowed object is
Doublepublic RuleSet withExtensions(Collection<Extension> values)
public RuleSet withRuleSelectionMethods(RuleSelectionMethod... values)
public RuleSet withRuleSelectionMethods(Collection<RuleSelectionMethod> values)
public RuleSet withScoreDistributions(ScoreDistribution... values)
public RuleSet withScoreDistributions(Collection<ScoreDistribution> values)
public RuleSet withRules(Collection<Rule> values)
public Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectpublic VisitorAction accept(Visitor visitor)
Copyright © 2014 University of Tartu. All Rights Reserved.