11 #ifndef _STRUCTURED_MODEL__H__ 12 #define _STRUCTURED_MODEL__H__ 14 #include <shogun/lib/config.h> 29 #define IGNORE_IN_CLASSLIST 60 virtual const char* get_name()
const;
128 virtual void init_primal_opt(
139 virtual int32_t get_dim()
const = 0;
260 virtual const char*
get_name()
const {
return "StructuredModel"; }
266 virtual void init_training();
275 virtual bool check_training_setup()
const;
286 virtual int32_t get_num_aux()
const;
297 virtual int32_t get_num_aux_con()
const;
SGVector< float64_t > psi_truth
Base class of the labels used in Structured Output (SO) problems.
Class SGObject is the base class of all shogun objects.
Class CStructuredModel that represents the application specific model and contains most of the applic...
CStructuredLabels * m_labels
all of classes and functions are contained in the shogun namespace
virtual const char * get_name() const
TMultipleCPinfo(uint32_t from, uint32_t N)
The class Features is the base class of all feature objects.
SGVector< float64_t > psi_pred
SGSparseVector< float64_t > psi_truth_sparse
#define IGNORE_IN_CLASSLIST
SGSparseVector< float64_t > psi_pred_sparse
Base class of the components of StructuredLabels.