|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectaima.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 Learnerpublic java.lang.String predict(Example e)
predict in interface Learnerpublic int[] test(DataSet ds)
test in interface Learner
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||