SHOGUN  4.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
FFSep.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) 2013 Kevin Hughes
8  */
9 
10 #ifndef FFSEP_H_
11 #define FFSEP_H_
12 
13 #include <shogun/lib/config.h>
14 #include <shogun/lib/SGNDArray.h>
17 
18 namespace shogun
19 {
20 
21 class CFeatures;
22 
35 class CFFSep: public CICAConverter
36 {
37  public:
38 
40  CFFSep();
41 
43  virtual ~CFFSep();
44 
48  virtual CFeatures* apply(CFeatures* features);
49 
54 
58  void set_tau(SGVector<float64_t> tau);
59 
64 
66  virtual const char* get_name() const { return "FFSep"; };
67 
68  protected:
69 
71  void init();
72 
73  private:
74 
76  SGVector<float64_t> m_tau;
77 
79  SGNDArray<float64_t> m_covs;
80 };
81 }
82 #endif // FFSEP
virtual const char * get_name() const
Definition: FFSep.h:66
virtual CFeatures * apply(CFeatures *features)
Definition: FFSep.cpp:58
SGNDArray< float64_t > get_covs() const
Definition: FFSep.cpp:53
virtual ~CFFSep()
Definition: FFSep.cpp:39
SGVector< float64_t > get_tau() const
Definition: FFSep.cpp:48
void set_tau(SGVector< float64_t > tau)
Definition: FFSep.cpp:43
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
void init()
Definition: FFSep.cpp:29
class ICAConverter Base class for ICA algorithms
Definition: ICAConverter.h:26
The class Features is the base class of all feature objects.
Definition: Features.h:68
class FFSep
Definition: FFSep.h:35

SHOGUN Machine Learning Toolbox - Documentation