9 #ifndef _HIERARCHICAL_MULTILABEL_MODEL__H__
10 #define _HIERARCHICAL_MULTILABEL_MODEL__H__
59 virtual int32_t
get_dim()
const;
86 bool const training =
true);
121 return "HierarchicalMultilabelModel";
125 int32_t m_num_classes;
127 bool m_leaf_nodes_mandatory;
Base class of the labels used in Structured Output (SO) problems.
virtual const char * get_name() const
virtual CStructuredLabels * structured_labels_factory(int32_t num_labels=0)
virtual SGVector< float64_t > get_joint_feature_vector(int32_t feat_idx, CStructuredData *y)
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 int32_t get_dim() const
CHierarchicalMultilabelModel()
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 CResultSet * argmax(SGVector< float64_t > w, int32_t feat_idx, bool const training=true)
virtual float64_t delta_loss(CStructuredData *y1, CStructuredData *y2)
The class Features is the base class of all feature objects.
Class CHierarchicalMultilabelModel represents application specific model and contains application dep...
Base class of the components of StructuredLabels.
virtual ~CHierarchicalMultilabelModel()