11 #ifndef __FACTORGRAPH_LABELS_H__
12 #define __FACTORGRAPH_LABELS_H__
24 class CFactorGraphLabels;
56 SG_SERROR(
"base_data must be of dynamic type CFactorGraphObservation\n")
62 virtual const char*
get_name()
const {
return "FactorGraphObservation"; }
105 virtual const char*
get_name()
const {
return "FactorGraphLabels"; }
virtual const char * get_name() const
Base class of the labels used in Structured Output (SO) problems.
SGVector< int32_t > get_data() const
SGVector< float64_t > get_loss_weights() const
SGVector< int32_t > m_observed_state
Class FactorGraphLabels used e.g. in the application of Structured Output (SO) learning with the Fact...
virtual EStructuredDataType get_structured_data_type() const
void set_loss_weights(SGVector< float64_t > loss_weights)
~CFactorGraphObservation()
SGVector< float64_t > m_loss_weights
Class CFactorGraphObservation is used as the structured output.
static CFactorGraphObservation * obtain_from_generic(CStructuredData *base_data)
all of classes and functions are contained in the shogun namespace
virtual ~CFactorGraphLabels()
virtual const char * get_name() const
CFactorGraphObservation()
Base class of the components of StructuredLabels.
STRUCTURED_DATA_TYPE(SDT_FACTOR_GRAPH)