SHOGUN  4.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
UWedgeSep.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 UWEDGESEP_H_
11 #define UWEDGESEP_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 {
36  public:
37 
39  CUWedgeSep();
40 
42  virtual ~CUWedgeSep();
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 "UWedgeSep"; };
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 // UWEDGESEP
virtual ~CUWedgeSep()
Definition: UWedgeSep.cpp:39
class UWedgeSep
Definition: UWedgeSep.h:34
void set_tau(SGVector< float64_t > tau)
Definition: UWedgeSep.cpp:43
virtual CFeatures * apply(CFeatures *features)
Definition: UWedgeSep.cpp:58
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
SGNDArray< float64_t > get_covs() const
Definition: UWedgeSep.cpp:53
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 const char * get_name() const
Definition: UWedgeSep.h:65
SGVector< float64_t > get_tau() const
Definition: UWedgeSep.cpp:48

SHOGUN Machine Learning Toolbox - Documentation