ARCHIVE
Snapshot of
the Shogun machine learning toolbox website
as of
2013
: preserved, not maintained. The live site:
shogun-toolbox.org
SHOGUN
4.1.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
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/config.h
>
17
18
#include <
shogun/lib/common.h
>
19
#include <
shogun/io/File.h
>
20
#include <
shogun/labels/LabelTypes.h
>
21
#include <
shogun/labels/DenseLabels.h
>
22
#include <
shogun/features/SubsetStack.h
>
23
24
namespace
shogun
25
{
26
class
CFile;
27
class
CRegressionLabels;
28
class
CDenseLabels;
29
36
class
CRegressionLabels
:
public
CDenseLabels
37
{
38
public
:
40
CRegressionLabels
();
41
46
CRegressionLabels
(int32_t num_labels);
47
52
CRegressionLabels
(
const
SGVector<float64_t>
src);
53
58
CRegressionLabels
(
CFile
* loader);
59
64
virtual
ELabelType
get_label_type
()
const
;
65
67
virtual
const
char
*
get_name
()
const
{
return
"RegressionLabels"
; }
68
};
69
}
70
#endif
shogun::CRegressionLabels
Real Labels are real-valued labels.
Definition:
RegressionLabels.h:36
LabelTypes.h
config.h
DenseLabels.h
File.h
shogun::CRegressionLabels::get_name
virtual const char * get_name() const
Definition:
RegressionLabels.h:67
shogun::SGVector< float64_t >
shogun::CFile
A File access base class.
Definition:
File.h:34
shogun::CRegressionLabels::CRegressionLabels
CRegressionLabels()
Definition:
RegressionLabels.cpp:6
shogun
all of classes and functions are contained in the shogun namespace
Definition:
class_list.h:18
common.h
SubsetStack.h
shogun::CRegressionLabels::get_label_type
virtual ELabelType get_label_type() const
Definition:
RegressionLabels.cpp:23
shogun::CDenseLabels
Dense integer or floating point labels.
Definition:
DenseLabels.h:35
ELabelType
ELabelType
Definition:
LabelTypes.h:15
SHOGUN
Machine Learning Toolbox - Documentation