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 JADE_H_ 00011 #define JADE_H_ 00012 00013 #include <shogun/lib/config.h> 00014 #ifdef HAVE_EIGEN3 00015 #include <shogun/converter/ica/ICAConverter.h> 00016 #include <shogun/features/Features.h> 00017 00018 namespace shogun 00019 { 00020 00021 class CFeatures; 00022 00023 //#define DEBUG_JADE 00024 00037 class CJade: public CICAConverter 00038 { 00039 public: 00040 00042 CJade(); 00043 00045 virtual ~CJade(); 00046 00050 virtual CFeatures* apply(CFeatures* features); 00051 00055 SGMatrix<float64_t> get_cumulant_matrix() const; 00056 00058 virtual const char* get_name() const { return "Jade"; }; 00059 00060 protected: 00061 00063 void init(); 00064 00065 private: 00066 00068 SGMatrix<float64_t> m_cumulant_matrix; 00069 }; 00070 } 00071 #endif // HAVE_EIGEN3 00072 #endif // JADE