10 #ifndef _LABELS_FACTORY__H__
11 #define _LABELS_FACTORY__H__
23 class CMulticlassLabels;
24 class CRegressionLabels;
25 class CStructuredLabels;
26 class CMultilabelLabels;
27 class CMulticlassSOLabels;
77 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.
virtual const char * get_name() const
static CMultilabelLabels * to_multilabel_output(CLabels *base_labels)
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 CMulticlassSOLabels * to_multiclass_structured(CLabels *base_labels)
all of classes and functions are contained in the shogun namespace
Binary Labels for binary classification.
static CStructuredLabels * to_structured(CLabels *base_labels)
static CLatentLabels * to_latent(CLabels *base_labels)
Multilabel Labels for multi-label classification.
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)