SHOGUN  5.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
SOBI.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 SOBI_H_
11 #define SOBI_H_
12 
13 #include <shogun/lib/config.h>
14 #include <shogun/lib/SGNDArray.h>
17 
18 namespace shogun
19 {
20 
21 class CFeatures;
22 
36 class CSOBI: public CICAConverter
37 {
38  public:
39 
41  CSOBI();
42 
44  virtual ~CSOBI();
45 
49  virtual CFeatures* apply(CFeatures* features);
50 
55 
59  void set_tau(SGVector<float64_t> tau);
60 
65 
67  virtual const char* get_name() const { return "SOBI"; };
68 
69  protected:
70 
72  void init();
73 
74  private:
75 
77  SGVector<float64_t> m_tau;
78 
80  SGNDArray<float64_t> m_covs;
81 };
82 }
83 #endif // SOBI
void set_tau(SGVector< float64_t > tau)
Definition: SOBI.cpp:43
virtual CFeatures * apply(CFeatures *features)
Definition: SOBI.cpp:58
void init()
Definition: SOBI.cpp:29
SGVector< float64_t > get_tau() const
Definition: SOBI.cpp:48
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
SGNDArray< float64_t > get_covs() const
Definition: SOBI.cpp:53
class ICAConverter Base class for ICA algorithms
Definition: ICAConverter.h:26
virtual ~CSOBI()
Definition: SOBI.cpp:39
The class Features is the base class of all feature objects.
Definition: Features.h:68
virtual const char * get_name() const
Definition: SOBI.h:67
class SOBI
Definition: SOBI.h:36

SHOGUN Machine Learning Toolbox - Documentation