|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object aima.learning.learners.CurrentBestLearner
public class CurrentBestLearner
Constructor Summary | |
---|---|
CurrentBestLearner(java.lang.String trueGoalValue)
|
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 CurrentBestLearner(java.lang.String trueGoalValue)
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 |