32 #ifndef _MULTILABEL_LABELS__H__
33 #define _MULTILABEL_LABELS__H__
93 return "MultilabelLabels";
143 template <
class S,
class D>
160 void init(int32_t num_labels, int32_t num_classes);
static SGVector< D > to_dense(SGVector< S > *sparse, int32_t dense_len, D d_true, D d_false)
SGMatrix< int32_t > get_labels() const
The class Labels models labels, i.e. class assignments of objects.
virtual int32_t get_num_labels() const
void set_class_labels(SGVector< int32_t > **labels_list)
void set_labels(SGVector< int32_t > *labels)
SGVector< int32_t > ** get_class_labels() const
virtual ELabelType get_label_type() const
virtual int32_t get_num_classes() const
virtual const char * get_name() const
SGVector< int32_t > get_label(int32_t j)
all of classes and functions are contained in the shogun namespace
void set_label(int32_t j, SGVector< int32_t > label)
void ensure_valid(const char *context=NULL)
SGVector< int32_t > * m_labels
sparse label class for multilabel classification (sets of labels)
Multilabel Labels for multi-label classification.