8 #ifndef _HASHED_MULTILABEL_MODEL__H__
9 #define _HASHED_MULTILABEL_MODEL__H__
52 virtual int32_t
get_dim()
const;
97 bool const training =
true);
150 return "HashedMultilabelModel";
156 int32_t m_num_classes;
161 void init(int32_t dim);
virtual const char * get_name() const
Base class of the labels used in Structured Output (SO) problems.
virtual void set_seeds(SGVector< uint32_t > seeds)
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 CStructuredLabels * structured_labels_factory(int32_t num_examples=0)
virtual SGVector< float64_t > get_joint_feature_vector(int32_t feat_idx, CStructuredData *y)
virtual void set_misclass_cost(float64_t false_positive, float64_t false_negative)
virtual ~CHashedMultilabelModel()
virtual int32_t get_dim() const
Class CHashedMultilabelModel represents application specific model and contains application dependent...
virtual float64_t delta_loss(CStructuredData *y1, CStructuredData *y2)
virtual SGSparseVector< float64_t > get_sparse_joint_feature_vector(int32_t feat_idx, CStructuredData *y)
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
The class Features is the base class of all feature objects.
Base class of the components of StructuredLabels.
virtual CResultSet * argmax(SGVector< float64_t > w, int32_t feat_idx, bool const training=true)