9 if (loss_weights.
size() == 0)
31 loss_weights should be the same length as observed_states",
get_name());
53 void CFactorGraphLabels::init()
virtual const char * get_name() const
Base class of the labels used in Structured Output (SO) problems.
static void fill_vector(T *vec, int32_t len, T value)
SGVector< int32_t > get_data() const
SGVector< float64_t > get_loss_weights() const
SGVector< int32_t > m_observed_state
void set_loss_weights(SGVector< float64_t > loss_weights)
SGVector< float64_t > m_loss_weights
all of classes and functions are contained in the shogun namespace
virtual ~CFactorGraphLabels()
void resize_vector(int32_t n)
CFactorGraphObservation()
Base class of the components of StructuredLabels.