SHOGUN
v3.0.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
shogun
labels
RegressionLabels.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General Public License as published by
4
* the Free Software Foundation; either version 3 of the License, or
5
* (at your option) any later version.
6
*
7
* Written (W) 1999-2009 Soeren Sonnenburg
8
* Written (W) 1999-2008 Gunnar Raetsch
9
* Written (W) 2011 Heiko Strathmann
10
* Copyright (C) 1999-2009 Fraunhofer Institute FIRST and Max-Planck-Society
11
*/
12
13
#ifndef _REAL_LABELS__H__
14
#define _REAL_LABELS__H__
15
16
#include <
shogun/lib/common.h
>
17
#include <
shogun/io/File.h
>
18
#include <
shogun/labels/LabelTypes.h
>
19
#include <
shogun/labels/DenseLabels.h
>
20
#include <
shogun/features/SubsetStack.h
>
21
22
namespace
shogun
23
{
24
class
CFile;
25
class
CRegressionLabels;
26
class
CDenseLabels;
27
34
class
CRegressionLabels
:
public
CDenseLabels
35
{
36
public
:
38
CRegressionLabels
();
39
44
CRegressionLabels
(int32_t num_labels);
45
50
CRegressionLabels
(
const
SGVector<float64_t>
src);
51
56
CRegressionLabels
(
CFile
* loader);
57
62
virtual
ELabelType
get_label_type
()
const
;
63
65
virtual
const
char
*
get_name
()
const
{
return
"RegressionLabels"
; }
66
};
67
}
68
#endif
SHOGUN
Machine Learning Toolbox - Documentation