org.neuroph.eval
Class ClassifierEvaluator
- java.lang.Object
-
- org.neuroph.eval.ClassifierEvaluator
-
- All Implemented Interfaces:
- Evaluator<ConfusionMatrix>
- Direct Known Subclasses:
- ClassifierEvaluator.Binary, ClassifierEvaluator.MultiClass
public abstract class ClassifierEvaluator extends java.lang.Object implements Evaluator<ConfusionMatrix>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classClassifierEvaluator.BinaryBinary evaluator used for computation of metrics in case when data has only one output result (one output neuron)static classClassifierEvaluator.MultiClassEvaluator used for computation of metrics in case when data has multiple classes - one vs many classification
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ConfusionMatrixgetResult()This method should return final evaluation resultdoublegetThreshold()voidreset()voidsetThreshold(double threshold)-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.neuroph.eval.Evaluator
processNetworkResult
-
-
-
-
Method Detail
-
getResult
public ConfusionMatrix getResult()
Description copied from interface:EvaluatorThis method should return final evaluation result- Specified by:
getResultin interfaceEvaluator<ConfusionMatrix>- Returns:
- final evaluation result
-
getThreshold
public double getThreshold()
-
setThreshold
public final void setThreshold(double threshold)
-
reset
public void reset()
- Specified by:
resetin interfaceEvaluator<ConfusionMatrix>
-
-
DMelt 3.0 © DataMelt by jWork.ORG