SHOGUN
v1.1.0
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
shogun
preprocessor
SimplePreprocessor.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
* Copyright (C) 1999-2009 Fraunhofer Institute FIRST and Max-Planck-Society
9
*/
10
11
#ifndef _CSIMPLEPREPROC__H__
12
#define _CSIMPLEPREPROC__H__
13
14
#include <
shogun/features/Features.h
>
15
#include <
shogun/features/SimpleFeatures.h
>
16
#include <
shogun/lib/common.h
>
17
#include <
shogun/preprocessor/Preprocessor.h
>
18
19
namespace
shogun
20
{
21
template
<
class
ST>
class
CSimpleFeatures;
22
31
template
<
class
ST>
class
CSimplePreprocessor
:
public
CPreprocessor
32
{
33
public
:
36
CSimplePreprocessor
();
37
41
virtual
SGMatrix<ST>
apply_to_feature_matrix
(
CFeatures
* features)=0;
42
45
virtual
SGVector<ST>
apply_to_feature_vector
(
SGVector<ST>
vector)=0;
46
48
virtual
EFeatureClass
get_feature_class
();
50
virtual
EFeatureType
get_feature_type
();
51
53
virtual
EPreprocessorType
get_type
()
const
;
54
55
};
56
57
}
58
#endif
SHOGUN
Machine Learning Toolbox - Documentation