SHOGUN  4.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
RegressionLabels.cpp
Go to the documentation of this file.
3 
4 using namespace shogun;
5 
7 {
8 }
9 
10 CRegressionLabels::CRegressionLabels(int32_t num_labels) : CDenseLabels(num_labels)
11 {
12 }
13 
15 {
16  set_labels(src);
17 }
18 
20 {
21 }
22 
24 {
25  return LT_REGRESSION;
26 }
27 
real valued labels (e.g. for regression, classifier outputs)
Definition: LabelTypes.h:22
A File access base class.
Definition: File.h:34
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
virtual ELabelType get_label_type() const
Dense integer or floating point labels.
Definition: DenseLabels.h:35
void set_labels(SGVector< float64_t > v)
Definition: DenseLabels.cpp:74
ELabelType
Definition: LabelTypes.h:15

SHOGUN Machine Learning Toolbox - Documentation