|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object aima.learning.learners.MajorityLearner
public class MajorityLearner
Constructor Summary | |
---|---|
MajorityLearner()
|
Method Summary | |
---|---|
java.lang.String |
predict(Example e)
|
int[] |
test(DataSet ds)
|
void |
train(DataSet ds)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MajorityLearner()
Method Detail |
---|
public void train(DataSet ds)
train
in interface Learner
public java.lang.String predict(Example e)
predict
in interface Learner
public int[] test(DataSet ds)
test
in interface Learner
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |