12 #ifndef _MULTICLASS_SO_LABELS__H__
13 #define _MULTICLASS_SO_LABELS__H__
23 class CMulticlassSOLabels;
50 SG_SERROR(
"base_data must be of dynamic type CRealNumber\n")
56 virtual const char*
get_name()
const {
return "RealNumber"; }
127 virtual const char*
get_name()
const {
return "MulticlassSOLabels"; }
134 int32_t m_num_classes;
137 int32_t m_num_labels_set;
Base class of the labels used in Structured Output (SO) problems.
virtual CStructuredData * get_label(int32_t idx)
virtual ~CMulticlassSOLabels()
static CRealNumber * obtain_from_generic(CStructuredData *base_data)
virtual const char * get_name() const
virtual EStructuredDataType get_structured_data_type() const
int32_t get_num_classes()
virtual int32_t get_num_labels() const
virtual const char * get_name() const
CRealNumber(float64_t val)
STRUCTURED_DATA_TYPE(SDT_REAL)
virtual void add_label(CStructuredData *label)
virtual bool set_label(int32_t idx, CStructuredData *label)
Class CRealNumber to be used in the application of Structured Output (SO) learning to multiclass clas...
Class CMulticlassSOLabels to be used in the application of Structured Output (SO) learning to multicl...
Base class of the components of StructuredLabels.