SHOGUN
v3.2.0
|
00001 /* 00002 * This program is free software; you can redistribute it and/or modify 00003 * it under the terms of the GNU General Public License as published by 00004 * the Free Software Foundation; either version 3 of the License, or 00005 * (at your option) any later version. 00006 * 00007 * Written (W) 2013 Kevin Hughes 00008 */ 00009 00010 #ifndef FFSEP_H_ 00011 #define FFSEP_H_ 00012 00013 #include <shogun/lib/config.h> 00014 #ifdef HAVE_EIGEN3 00015 #include <shogun/lib/SGNDArray.h> 00016 #include <shogun/features/Features.h> 00017 #include <shogun/converter/ica/ICAConverter.h> 00018 00019 namespace shogun 00020 { 00021 00022 class CFeatures; 00023 00036 class CFFSep: public CICAConverter 00037 { 00038 public: 00039 00041 CFFSep(); 00042 00044 virtual ~CFFSep(); 00045 00049 virtual CFeatures* apply(CFeatures* features); 00050 00054 SGVector<float64_t> get_tau() const; 00055 00059 void set_tau(SGVector<float64_t> tau); 00060 00064 SGNDArray<float64_t> get_covs() const; 00065 00067 virtual const char* get_name() const { return "FFSep"; }; 00068 00069 protected: 00070 00072 void init(); 00073 00074 private: 00075 00077 SGVector<float64_t> m_tau; 00078 00080 SGNDArray<float64_t> m_covs; 00081 }; 00082 } 00083 #endif // HAVE_EIGEN3 00084 #endif // FFSEP