SHOGUN
v3.0.1
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
preprocessor
DensePreprocessor.cpp
Go to the documentation of this file.
1
#include <
shogun/preprocessor/DensePreprocessor.h
>
2
3
namespace
shogun
4
{
5
template
<
class
ST>
6
CDensePreprocessor<ST>::CDensePreprocessor
() :
CPreprocessor
()
7
{
8
}
9
10
template
<>
EFeatureType
CDensePreprocessor<floatmax_t>::get_feature_type
()
11
{
12
return
F_LONGREAL
;
13
}
14
15
template
<>
EFeatureType
CDensePreprocessor<float64_t>::get_feature_type
()
16
{
17
return
F_DREAL
;
18
}
19
20
template
<>
EFeatureType
CDensePreprocessor<float32_t>::get_feature_type
()
21
{
22
return
F_SHORTREAL
;
23
}
24
25
template
<>
EFeatureType
CDensePreprocessor<int16_t>::get_feature_type
()
26
{
27
return
F_SHORT
;
28
}
29
30
template
<>
EFeatureType
CDensePreprocessor<uint16_t>::get_feature_type
()
31
{
32
return
F_WORD
;
33
}
34
35
template
<>
EFeatureType
CDensePreprocessor<char>::get_feature_type
()
36
{
37
return
F_CHAR
;
38
}
39
40
template
<>
EFeatureType
CDensePreprocessor<int8_t>::get_feature_type
()
41
{
42
return
F_CHAR
;
43
}
44
45
template
<>
EFeatureType
CDensePreprocessor<uint8_t>::get_feature_type
()
46
{
47
return
F_BYTE
;
48
}
49
50
template
<>
EFeatureType
CDensePreprocessor<int32_t>::get_feature_type
()
51
{
52
return
F_INT
;
53
}
54
55
template
<>
EFeatureType
CDensePreprocessor<uint32_t>::get_feature_type
()
56
{
57
return
F_UINT
;
58
}
59
60
61
template
<>
EFeatureType
CDensePreprocessor<int64_t>::get_feature_type
()
62
{
63
return
F_LONG
;
64
}
65
66
template
<>
EFeatureType
CDensePreprocessor<uint64_t>::get_feature_type
()
67
{
68
return
F_ULONG
;
69
}
70
71
template
<>
EFeatureType
CDensePreprocessor<bool>::get_feature_type
()
72
{
73
return
F_BOOL
;
74
}
75
76
template
<
class
ST>
77
EFeatureClass
CDensePreprocessor<ST>::get_feature_class
()
78
{
79
return
C_DENSE
;
80
}
81
82
template
<
class
ST>
83
EPreprocessorType
CDensePreprocessor<ST>::get_type
()
const
84
{
85
return
P_UNKNOWN
;
86
}
87
88
template
class
CDensePreprocessor<bool>
;
89
template
class
CDensePreprocessor<char>
;
90
template
class
CDensePreprocessor<int8_t>
;
91
template
class
CDensePreprocessor<uint8_t>
;
92
template
class
CDensePreprocessor<int16_t>
;
93
template
class
CDensePreprocessor<uint16_t>
;
94
template
class
CDensePreprocessor<int32_t>
;
95
template
class
CDensePreprocessor<uint32_t>
;
96
template
class
CDensePreprocessor<int64_t>
;
97
template
class
CDensePreprocessor<uint64_t>
;
98
template
class
CDensePreprocessor<float32_t>
;
99
template
class
CDensePreprocessor<float64_t>
;
100
template
class
CDensePreprocessor<floatmax_t>
;
101
}
shogun::F_ULONG
Definition:
FeatureTypes.h:27
shogun::F_UINT
Definition:
FeatureTypes.h:25
shogun::F_BOOL
Definition:
FeatureTypes.h:19
shogun::EPreprocessorType
EPreprocessorType
Definition:
Preprocessor.h:30
shogun::F_SHORT
Definition:
FeatureTypes.h:22
shogun::EFeatureClass
EFeatureClass
shogun feature class
Definition:
FeatureTypes.h:35
shogun::F_SHORTREAL
Definition:
FeatureTypes.h:28
shogun::F_DREAL
Definition:
FeatureTypes.h:29
shogun::CDensePreprocessor
Template class DensePreprocessor, base class for preprocessors (cf. CPreprocessor) that apply to CDen...
Definition:
DensePreprocessor.h:31
shogun::F_CHAR
Definition:
FeatureTypes.h:20
shogun::F_LONG
Definition:
FeatureTypes.h:26
shogun::C_DENSE
Definition:
FeatureTypes.h:38
shogun::P_UNKNOWN
Definition:
Preprocessor.h:32
shogun::EFeatureType
EFeatureType
shogun feature type
Definition:
FeatureTypes.h:16
shogun::F_BYTE
Definition:
FeatureTypes.h:21
shogun::F_WORD
Definition:
FeatureTypes.h:23
shogun::F_LONGREAL
Definition:
FeatureTypes.h:30
shogun::CPreprocessor
Class Preprocessor defines a preprocessor interface.
Definition:
Preprocessor.h:69
DensePreprocessor.h
shogun::CDensePreprocessor::get_feature_type
virtual EFeatureType get_feature_type()
return feature type
shogun::CDensePreprocessor::CDensePreprocessor
CDensePreprocessor()
Definition:
DensePreprocessor.cpp:6
shogun::F_INT
Definition:
FeatureTypes.h:24
SHOGUN
Machine Learning Toolbox - Documentation