93 SG_ERROR(
"%s::compute_scores(): Number of predicted labels (%d) is not "
94 "equal to number of ground truth labels (%d)!\n",
get_name(),
virtual const char * get_name() const
virtual ELabelType get_label_type() const =0
virtual int32_t get_num_labels() const
The class Labels models labels, i.e. class assignments of objects.
void compute_scores(CBinaryLabels *predicted, CBinaryLabels *ground_truth)
virtual EEvaluationDirection get_custom_direction() const
float64_t get_WRACC() const
#define SG_NOTIMPLEMENTED
EContingencyTableMeasureType m_type
float64_t get_label(int32_t idx)
float64_t get_cross_correlation() const
virtual float64_t get_custom_score()
float64_t get_error_rate() const
all of classes and functions are contained in the shogun namespace
float64_t get_accuracy() const
virtual EEvaluationDirection get_evaluation_direction() const
virtual float64_t evaluate(CLabels *predicted, CLabels *ground_truth)
Binary Labels for binary classification.
float64_t get_precision() const
float64_t get_specificity() const
float64_t get_BAL() const
float64_t get_recall() const
virtual void ensure_valid(const char *context=NULL)=0
virtual ELabelType get_label_type() const