aima.learning.inductive
Class DecisionList
java.lang.Object
aima.learning.inductive.DecisionList
public class DecisionList
- extends java.lang.Object
Constructor Summary |
DecisionList(java.lang.String positive,
java.lang.String negative)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DecisionList
public DecisionList(java.lang.String positive,
java.lang.String negative)
predict
public java.lang.String predict(Example example)
add
public void add(DLTest test,
java.lang.String outcome)
mergeWith
public DecisionList mergeWith(DecisionList dlist2)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object