13 #ifndef _DENSE_LABELS__H__
14 #define _DENSE_LABELS__H__
179 #if !defined(SWIGJAVA) && !defined(SWIGCSHARP)
SGVector< float64_t > m_labels
void set_int_labels(SGVector< int32_t > labels)
virtual int32_t get_num_labels() const
The class Labels models labels, i.e. class assignments of objects.
virtual ELabelType get_label_type() const =0
float64_t get_label(int32_t idx)
SGVector< float64_t > get_labels_copy()
bool set_label(int32_t idx, float64_t label)
SGVector< float64_t > get_labels()
int32_t get_int_label(int32_t idx)
static const int32_t REJECTION_LABEL
A File access base class.
void set_to_const(float64_t c)
SGVector< int32_t > get_int_labels()
all of classes and functions are contained in the shogun namespace
virtual void ensure_valid(const char *context=NULL)
bool set_int_label(int32_t idx, int32_t label)
Dense integer or floating point labels.
void set_labels(SGVector< float64_t > v)
virtual void load(CFile *loader)
virtual void save(CFile *writer)