SHOGUN  v3.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DensePreprocessor.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 _DENSEPREPROCESSOR__H__
12 #define _DENSEPREPROCESSOR__H__
13 
16 #include <shogun/lib/common.h>
18 
19 namespace shogun
20 {
21 template <class ST> class CDenseFeatures;
22 
31 template <class ST> class CDensePreprocessor : public CPreprocessor
32 {
33  public:
37 
41  virtual SGMatrix<ST> apply_to_feature_matrix(CFeatures* features)=0;
42 
46 
51 
53  virtual EPreprocessorType get_type() const;
54 
55 };
56 
57 }
58 #endif

SHOGUN Machine Learning Toolbox - Documentation