SHOGUN  3.2.1
 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 
14 #include <shogun/lib/config.h>
15 
17 
18 namespace shogun
19 {
30  class CRescaleFeatures : public CDensePreprocessor<float64_t>
31  {
32  public:
35 
37  virtual ~CRescaleFeatures();
38 
44  virtual bool init(CFeatures* features);
45 
49  virtual void cleanup();
50 
58 
63 
65  virtual const char* get_name() const { return "RescaleFeatures"; }
66 
68  virtual EPreprocessorType get_type() const { return P_RESCALEFEATURES; }
69 
70  private:
71  void register_parameters();
72 
73  protected:
80  };
81 }
82 
83 #endif /* __RESCALEFEATURES_H__ */

SHOGUN Machine Learning Toolbox - Documentation