12 #ifndef _MULTICLASS_SO_LABELS__H__
13 #define _MULTICLASS_SO_LABELS__H__
25 class CStructuredLabels;
26 class CMulticlassSOLabels;
53 SG_SERROR(
"base_data must be of dynamic type CRealNumber\n")
59 virtual const char*
get_name()
const {
return "RealNumber"; }
134 virtual const char*
get_name()
const {
return "MulticlassSOLabels"; }
141 int32_t m_num_classes;
144 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)
all of classes and functions are contained in the shogun namespace
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.