Package org.dmg.pmml.rule_set
Class RuleSet
- java.lang.Object
-
- org.dmg.pmml.PMMLObject
-
- org.dmg.pmml.rule_set.RuleSet
-
- All Implemented Interfaces:
Serializable,HasExtensions<RuleSet>,HasLocator,HasRecordCount<RuleSet>,Visitable
public class RuleSet extends PMMLObject implements HasExtensions<RuleSet>, HasRecordCount<RuleSet>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RuleSet()RuleSet(List<RuleSelectionMethod> ruleSelectionMethods)
-
Method Summary
-
Methods inherited from class org.dmg.pmml.PMMLObject
getLocator, getSchemaVersion, getSchemaVersion, hasLocator, setLocator
-
-
-
-
Constructor Detail
-
RuleSet
public RuleSet()
-
RuleSet
public RuleSet(List<RuleSelectionMethod> ruleSelectionMethods)
-
-
Method Detail
-
getRecordCount
public Number getRecordCount()
- Specified by:
getRecordCountin interfaceHasRecordCount<RuleSet>
-
setRecordCount
public RuleSet setRecordCount(Number recordCount)
- Specified by:
setRecordCountin interfaceHasRecordCount<RuleSet>
-
getNbCorrect
public Number getNbCorrect()
-
requireDefaultScore
public Object requireDefaultScore()
-
getDefaultScore
public Object getDefaultScore()
-
requireDefaultConfidence
public Number requireDefaultConfidence()
-
getDefaultConfidence
public Number getDefaultConfidence()
-
hasExtensions
public boolean hasExtensions()
- Specified by:
hasExtensionsin interfaceHasExtensions<RuleSet>
-
getExtensions
public List<Extension> getExtensions()
- Specified by:
getExtensionsin interfaceHasExtensions<RuleSet>
-
addExtensions
public RuleSet addExtensions(Extension... extensions)
- Specified by:
addExtensionsin interfaceHasExtensions<RuleSet>
-
hasRuleSelectionMethods
public boolean hasRuleSelectionMethods()
-
requireRuleSelectionMethods
public List<RuleSelectionMethod> requireRuleSelectionMethods()
-
getRuleSelectionMethods
public List<RuleSelectionMethod> getRuleSelectionMethods()
-
addRuleSelectionMethods
public RuleSet addRuleSelectionMethods(RuleSelectionMethod... ruleSelectionMethods)
-
hasScoreDistributions
public boolean hasScoreDistributions()
-
getScoreDistributions
public List<ScoreDistribution> getScoreDistributions()
-
addScoreDistributions
public RuleSet addScoreDistributions(ScoreDistribution... scoreDistributions)
-
hasRules
public boolean hasRules()
-
accept
public VisitorAction accept(Visitor visitor)
-
-