Package elki.evaluation.classification
Class ConfusionMatrixEvaluationResult
- java.lang.Object
-
- elki.evaluation.classification.ConfusionMatrixEvaluationResult
-
public class ConfusionMatrixEvaluationResult extends java.lang.Object
Provides the prediction performance measures for a classifier based on the confusion matrix. Note: this API is non-final, and will be refactored soon.- Since:
- 0.7.0
- Author:
- Arthur Zimek
-
-
Field Summary
Fields Modifier and Type Field Description ConfusionMatrix
confusionmatrix
Holds the confusion matrix.java.lang.String
evaluationName
Holds the used EvaluationProcedure.
-
Constructor Summary
Constructors Constructor Description ConfusionMatrixEvaluationResult(ConfusionMatrix confusionmatrix, java.lang.String evaluationName)
Provides an evaluation based on the given confusion matrix.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLongName()
java.lang.String
getShortName()
-
-
-
Field Detail
-
confusionmatrix
public final ConfusionMatrix confusionmatrix
Holds the confusion matrix.
-
evaluationName
public final java.lang.String evaluationName
Holds the used EvaluationProcedure.
-
-
Constructor Detail
-
ConfusionMatrixEvaluationResult
public ConfusionMatrixEvaluationResult(ConfusionMatrix confusionmatrix, java.lang.String evaluationName)
Provides an evaluation based on the given confusion matrix.- Parameters:
confusionmatrix
- the confusion matrix to provide the prediction performance measures forevaluationName
- name of the evaluation procedure used
-
-