9 #ifndef _MULTILABEL_CLR_MODEL__H__ 10 #define _MULTILABEL_CLR_MODEL__H__ 12 #include <shogun/lib/config.h> 47 virtual int32_t
get_dim()
const;
73 bool const training =
true);
108 return "MultilabelCLRModel";
112 int32_t m_num_classes;
virtual ~CMultilabelCLRModel()
Base class of the labels used in Structured Output (SO) problems.
virtual void init_primal_opt(float64_t regularization, SGMatrix< float64_t > &A, SGVector< float64_t > a, SGMatrix< float64_t > B, SGVector< float64_t > &b, SGVector< float64_t > &lb, SGVector< float64_t > &ub, SGMatrix< float64_t > &C)
virtual SGVector< float64_t > get_joint_feature_vector(int32_t feat_idx, CStructuredData *y)
Class MultilabelCLRModel represents application specific model and contains application dependent log...
virtual int32_t get_dim() const
Class CStructuredModel that represents the application specific model and contains most of the applic...
all of classes and functions are contained in the shogun namespace
virtual CStructuredLabels * structured_labels_factory(int32_t num_labels=0)
virtual const char * get_name() const
The class Features is the base class of all feature objects.
virtual CResultSet * argmax(SGVector< float64_t > w, int32_t feat_idx, bool const training=true)
Base class of the components of StructuredLabels.
virtual float64_t delta_loss(CStructuredData *y1, CStructuredData *y2)