|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.datamining.model.AbstractRuleModel
net.sf.myra.datamining.model.RuleSet
public class RuleSet
This class represents a rule set model.
Nested Class Summary | |
---|---|
static class |
RuleSet.ConflictResolutionStrategy
|
Nested classes/interfaces inherited from class net.sf.myra.datamining.model.AbstractRuleModel |
---|
AbstractRuleModel.DefaultGatherer |
Constructor Summary | |
---|---|
RuleSet()
|
|
RuleSet(RuleSet.ConflictResolutionStrategy strategy)
|
Method Summary | |
---|---|
Label |
classify(Instance instance)
Classifies the secified instance. |
java.util.Set<Rule> |
getRules()
|
Methods inherited from class net.sf.myra.datamining.model.AbstractRuleModel |
---|
add, getDefault, getGatherer, getMajority, hasDefault, remove, setMajority, size, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RuleSet()
public RuleSet(RuleSet.ConflictResolutionStrategy strategy)
Method Detail |
---|
public java.util.Set<Rule> getRules()
getRules
in class AbstractRuleModel
public Label classify(Instance instance)
Model
instance
- the instance to be classified.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |