SHOGUN  v3.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RescaleFeatures.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) 20013 Viktor Gal
8  * Copyright (C) 2013 Viktor Gal
9  */
10 
11 #ifndef __RESCALEFEATURES_H__
12 #define __RESCALEFEATURES_H__
13 
15 
16 namespace shogun
17 {
28  class CRescaleFeatures : public CDensePreprocessor<float64_t>
29  {
30  public:
33 
35  virtual ~CRescaleFeatures();
36 
42  virtual bool init(CFeatures* features);
43 
47  virtual void cleanup();
48 
56 
61 
63  virtual const char* get_name() const { return "RescaleFeatures"; }
64 
66  virtual EPreprocessorType get_type() const { return P_RESCALEFEATURES; }
67 
68  private:
69  void register_parameters();
70 
71  protected:
78  };
79 }
80 
81 #endif /* __RESCALEFEATURES_H__ */

SHOGUN Machine Learning Toolbox - Documentation