|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.debellor.base.evaluator.score.Score
public abstract class Score
Base class for classes which calculate value of a quality measure (accuracy, confusion matrix, RMSE, ...) of decision systems.
EvaluatorCell
Constructor Summary | |
---|---|
Score()
|
Method Summary | |
---|---|
abstract void |
add(DataObject target,
DataObject prediction)
Update the score with another pair of (target,prediction) decisions. |
abstract java.lang.String |
report()
Calculates the value(s) of the quality measure and returns in a form of a textual report. |
abstract void |
reset()
Resets the score to its initial state. |
abstract double |
result()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Score()
Method Detail |
---|
public abstract void add(DataObject target, DataObject prediction) throws DataException
target
- Ground truth decision of a sample.prediction
- Decision predicted by a decision algorithm.
DataException
public abstract java.lang.String report()
public abstract double result()
public abstract void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |