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 Heiko Strathmann 00008 */ 00009 00010 #ifndef __MMDKERNELSELECTIONCOMBMAXL2_H_ 00011 #define __MMDKERNELSELECTIONCOMBMAXL2_H_ 00012 00013 #include <shogun/lib/config.h> 00014 #include <shogun/statistics/MMDKernelSelection.h> 00015 #include <shogun/statistics/MMDKernelSelectionComb.h> 00016 00017 namespace shogun 00018 { 00019 00040 class CMMDKernelSelectionCombMaxL2: public CMMDKernelSelectionComb 00041 { 00042 public: 00043 00045 CMMDKernelSelectionCombMaxL2(); 00046 00052 CMMDKernelSelectionCombMaxL2(CKernelTwoSampleTestStatistic* mmd); 00053 00055 virtual ~CMMDKernelSelectionCombMaxL2(); 00056 00057 #ifdef HAVE_LAPACK 00058 00070 virtual SGVector<float64_t> compute_measures(); 00071 #endif 00072 00074 const char* get_name() const { return "MMDKernelSelectionCombMaxL2"; } 00075 }; 00076 00077 } 00078 00079 #endif /* __MMDKERNELSELECTIONCOMBMAXL2_H_ */