27 int32_t num_labels, int32_t num_states)
30 REQUIRE(labels.
vlen == label_length*num_labels,
"The length of the labels must be "
31 "equal to label_length times num_labels\n");
34 for ( int32_t i = 0 ; i < labels.
vlen ; i += label_length )
51 void CSequenceLabels::init()
Base class of the labels used in Structured Output (SO) problems.
Class CSequence to be used in the application of Structured Output (SO) learning to Hidden Markov Sup...
virtual ~CSequenceLabels()
void add_vector_label(SGVector< int32_t > label)
virtual void add_label(CStructuredData *label)
all of classes and functions are contained in the shogun namespace