|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.datamining.MajorityClassAssignator
public class MajorityClassAssignator
This class represents a ClassAssignator
that determines a rule
predicted class by the majority of examples covered by the rule.
Constructor Summary | |
---|---|
MajorityClassAssignator()
|
Method Summary | |
---|---|
void |
assign(Rule rule,
Dataset dataset)
Assigns the rule's class value based on the majority class of the covered examples by the rule. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MajorityClassAssignator()
Method Detail |
---|
public void assign(Rule rule, Dataset dataset)
assign
in interface ClassAssignator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |