ImFusion C++ SDK 4.4.0
ImFusion::ML::ClassificationLearningEvaluation Class Reference

#include <ImFusion/ML/LearningEvaluation.h>

Class for evaluation of a binary classification method. More...

Detailed Description

Class for evaluation of a binary classification method.

Public Member Functions

 ClassificationLearningEvaluation (int nbBins=255)
 Constructor.
 ~ClassificationLearningEvaluation ()
 Destructor.
void evaluateBinaryClassification (unsigned char *labels, float *predictions, size_t nbData)
 Evaluate the results of a binary classification.
float bestFMeasure (float *bestThreshold=0)
 Retrieve the best F-measure.
float bestAccuracy (float *bestThreshold=0)
 Retrieve the best accuracy.

The documentation for this class was generated from the following file:
  • ImFusion/ML/LearningEvaluation.h
Search Tab / S to search, Esc to close