11 #ifndef _SEQUENCE_LABELS__H__ 12 #define _SEQUENCE_LABELS__H__ 14 #include <shogun/lib/config.h> 24 class CSequenceLabels;
52 SG_SERROR(
"base_data must be of dynamic type CSequence\n")
58 virtual const char*
get_name()
const {
return "Sequence"; }
102 virtual const char*
get_name()
const {
return "SequenceLabels"; }
130 int32_t m_num_states;
Base class of the labels used in Structured Output (SO) problems.
virtual EStructuredDataType get_structured_data_type() const
Class CSequenceLabels used e.g. in the application of Structured Output (SO) learning to Hidden Marko...
Class CSequence to be used in the application of Structured Output (SO) learning to Hidden Markov Sup...
virtual const char * get_name() const
virtual const char * get_name() const
SGVector< int32_t > get_data() const
all of classes and functions are contained in the shogun namespace
STRUCTURED_DATA_TYPE(SDT_SEQUENCE)
CSequence(SGVector< int32_t > seq=SGVector< int32_t >())
static CSequence * obtain_from_generic(CStructuredData *base_data)
int32_t get_num_states() const
Base class of the components of StructuredLabels.