11 #ifndef __STRUCTURED_ACCURACY_H__ 12 #define __STRUCTURED_ACCURACY_H__ 61 virtual const char*
get_name()
const {
return "StructuredAccuracy"; }
Base class of the labels used in Structured Output (SO) problems.
virtual ~CStructuredAccuracy()
virtual float64_t evaluate(CLabels *predicted, CLabels *ground_truth)
The class Labels models labels, i.e. class assignments of objects.
virtual const char * get_name() const
static SGMatrix< int32_t > get_confusion_matrix(CLabels *predicted, CLabels *ground_truth)
all of classes and functions are contained in the shogun namespace
class CStructuredAccuracy used to compute accuracy of structured classification
EEvaluationDirection get_evaluation_direction() const
Class Evaluation, a base class for other classes used to evaluate labels, e.g. accuracy of classifica...