SHOGUN  4.1.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 #ifdef HAVE_EIGEN3
15 #include <shogun/lib/SGNDArray.h>
18 
19 namespace shogun
20 {
21 
22 class CFeatures;
23 
36 {
37  public:
38 
40  CUWedgeSep();
41 
43  virtual ~CUWedgeSep();
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 "UWedgeSep"; };
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 // HAVE_EIGEN3
83 #endif // UWEDGESEP
virtual ~CUWedgeSep()
Definition: UWedgeSep.cpp:40
class UWedgeSep
Definition: UWedgeSep.h:35
void set_tau(SGVector< float64_t > tau)
Definition: UWedgeSep.cpp:44
virtual CFeatures * apply(CFeatures *features)
Definition: UWedgeSep.cpp:59
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:54
class ICAConverter Base class for ICA algorithms
Definition: ICAConverter.h:27
The class Features is the base class of all feature objects.
Definition: Features.h:68
virtual const char * get_name() const
Definition: UWedgeSep.h:66
SGVector< float64_t > get_tau() const
Definition: UWedgeSep.cpp:49

SHOGUN Machine Learning Toolbox - Documentation