SHOGUN  4.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
JediSep.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 JEDISEP_H_
11 #define JEDISEP_H_
12 
13 #include <shogun/lib/config.h>
14 #include <shogun/lib/SGNDArray.h>
17 
18 namespace shogun
19 {
20 
21 class CFeatures;
22 
34 class CJediSep: public CICAConverter
35 {
36  public:
37 
39  CJediSep();
40 
42  virtual ~CJediSep();
43 
47  virtual CFeatures* apply(CFeatures* features);
48 
53 
57  void set_tau(SGVector<float64_t> tau);
58 
63 
65  virtual const char* get_name() const { return "JediSep"; };
66 
67  protected:
68 
70  void init();
71 
72  private:
73 
75  SGVector<float64_t> m_tau;
76 
78  SGNDArray<float64_t> m_covs;
79 };
80 }
81 #endif // JEDISEP
class JediSep
Definition: JediSep.h:34
SGNDArray< float64_t > get_covs() const
Definition: JediSep.cpp:53
SGVector< float64_t > get_tau() const
Definition: JediSep.cpp:48
virtual const char * get_name() const
Definition: JediSep.h:65
void set_tau(SGVector< float64_t > tau)
Definition: JediSep.cpp:43
virtual ~CJediSep()
Definition: JediSep.cpp:39
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
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
virtual CFeatures * apply(CFeatures *features)
Definition: JediSep.cpp:58

SHOGUN Machine Learning Toolbox - Documentation