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(),
float64_t get_error_rate() const
float64_t get_specificity() const
float64_t get_WRACC() const
virtual ELabelType get_label_type() const =0
virtual EEvaluationDirection get_custom_direction() const
The class Labels models labels, i.e. class assignments of objects.
void compute_scores(CBinaryLabels *predicted, CBinaryLabels *ground_truth)
float64_t get_cross_correlation() const
#define SG_NOTIMPLEMENTED
virtual int32_t get_num_labels() const
EContingencyTableMeasureType m_type
virtual ELabelType get_label_type() const
float64_t get_label(int32_t idx)
float64_t get_BAL() const
virtual const char * get_name() const
virtual float64_t get_custom_score()
all of classes and functions are contained in the shogun namespace
virtual float64_t evaluate(CLabels *predicted, CLabels *ground_truth)
virtual EEvaluationDirection get_evaluation_direction() const
Binary Labels for binary classification.
float64_t get_precision() const
float64_t get_recall() const
float64_t get_accuracy() const
virtual void ensure_valid(const char *context=NULL)=0