Public Member Functions

CEvaluation Class Reference


Detailed Description

The class Evaluation a main class for other classes used to evaluate labels, e.g. accuracy of classification or mean squared error of regression.

This class provides only interface for evaluation with no proposed implementation.

Definition at line 38 of file Evaluation.h.

Inheritance diagram for CEvaluation:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CEvaluation ()
virtual ~CEvaluation ()
virtual float64_t evaluate (CLabels *predicted, CLabels *ground_truth)=0
virtual EEvaluationDirection get_evaluation_direction ()=0

Constructor & Destructor Documentation

CEvaluation (  ) 

constructor

Definition at line 42 of file Evaluation.h.

virtual ~CEvaluation (  )  [virtual]

destructor

Definition at line 45 of file Evaluation.h.


Member Function Documentation

virtual float64_t evaluate ( CLabels predicted,
CLabels ground_truth 
) [pure virtual]

evaluate labels

Parameters:
predicted labels for evaluating
ground_truth labels assumed to be correct
Returns:
evaluation result

Implemented in CBinaryClassEvaluation, CContingencyTableEvaluation, CMeanSquaredError, CMulticlassAccuracy, CPRCEvaluation, and CROCEvaluation.

virtual EEvaluationDirection get_evaluation_direction (  )  [pure virtual]
Returns:
whether criterium has to be maximised or minimised

Implemented in CContingencyTableEvaluation, CMeanSquaredError, CMulticlassAccuracy, CPRCEvaluation, and CROCEvaluation.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation