20 register_parameters();
28 register_parameters();
62 for ( int32_t i = 0 ; i < num_input_vectors ; ++i )
73 void CLinearStructuredOutputMachine::register_parameters()
Base class of the labels used in Structured Output (SO) problems.
SGVector< float64_t > get_w() const
virtual ~CLinearStructuredOutputMachine()
virtual int32_t get_num_vectors() const =0
void set_w(SGVector< float64_t > w)
virtual void store_model_features()
CStructuredModel * m_model
CFeatures * get_features() const
virtual CStructuredLabels * apply_structured(CFeatures *data=NULL)
void set_features(CFeatures *f)
CLinearStructuredOutputMachine()
virtual CStructuredLabels * structured_labels_factory(int32_t num_labels=0)
Class CStructuredModel that represents the application specific model and contains most of the applic...
virtual void add_label(CStructuredData *label)
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)=0
The class Features is the base class of all feature objects.
SGVector< float64_t > m_w