10 #ifndef _LABELS_FACTORY__H__
11 #define _LABELS_FACTORY__H__
21 class CMulticlassLabels;
22 class CRegressionLabels;
23 class CStructuredLabels;
24 class CMulticlassMultipleOutputLabels;
25 class CMulticlassSOLabels;
75 virtual const char*
get_name()
const {
return "LabelsFactory"; }
static CRegressionLabels * to_regression(CLabels *base_labels)
Base class of the labels used in Structured Output (SO) problems.
Real Labels are real-valued labels.
The class Labels models labels, i.e. class assignments of objects.
Multiclass Labels for multi-class classification with multiple labels.
virtual const char * get_name() const
Multiclass Labels for multi-class classification.
static CBinaryLabels * to_binary(CLabels *base_labels)
The helper class to specialize base class instances of labels.
Class SGObject is the base class of all shogun objects.
static CMulticlassMultipleOutputLabels * to_multiclass_multiple_output(CLabels *base_labels)
static CMulticlassSOLabels * to_multiclass_structured(CLabels *base_labels)
Binary Labels for binary classification.
static CStructuredLabels * to_structured(CLabels *base_labels)
static CLatentLabels * to_latent(CLabels *base_labels)
abstract class for latent labels As latent labels always depends on the given application, this class only defines the API that the user has to implement for latent labels.
Class CMulticlassSOLabels to be used in the application of Structured Output (SO) learning to multicl...
static CMulticlassLabels * to_multiclass(CLabels *base_labels)