SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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

SHOGUN Machine Learning Toolbox - Documentation