11 #ifndef MULTICLASSACCURACY_H_
12 #define MULTICLASSACCURACY_H_
76 virtual const char*
get_name()
const {
return "MulticlassAccuracy"; }
int32_t get_rejects_num() const
virtual const char * get_name() const
CMulticlassAccuracy(bool ignore_rejects)
virtual float64_t evaluate(CLabels *predicted, CLabels *ground_truth)
The class Labels models labels, i.e. class assignments of objects.
The class MulticlassAccuracy used to compute accuracy of multiclass classification.
static SGMatrix< int32_t > get_confusion_matrix(CLabels *predicted, CLabels *ground_truth)
all of classes and functions are contained in the shogun namespace
EEvaluationDirection get_evaluation_direction() const
virtual ~CMulticlassAccuracy()
Class Evaluation, a base class for other classes used to evaluate labels, e.g. accuracy of classifica...