|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--mark.nlp.classifiers.SimpleResults
A Results object that just stores the confusion matrix.
| Field Summary | |
Table |
fConfusions
|
| Constructor Summary | |
SimpleResults(int[] predictions,
SparseBagInstance[] bags,
int numCats)
Initializes a results object using a Node. |
|
| Method Summary | |
double |
score()
Returns percentage correct. |
java.lang.String |
toString()
Provides a detailed textual account of results. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public Table fConfusions
| Constructor Detail |
public SimpleResults(int[] predictions,
SparseBagInstance[] bags,
int numCats)
bags - the instances to test.numCats - the number of categories.| Method Detail |
public double score()
Results
score in interface ResultsResultspublic java.lang.String toString()
Results
toString in interface ResultstoString in class java.lang.ObjectResults
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||