SHOGUN  5.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
MMDKernelSelectionCombOpt.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) 2012-2013 Heiko Strathmann
8  */
9 
10 #ifndef __MMDKERNELSELECTIONCOMBOPT_H_
11 #define __MMDKERNELSELECTIONCOMBOPT_H_
12 
13 #include <shogun/lib/config.h>
14 #ifdef USE_GPL_SHOGUN
15 
17 
18 namespace shogun
19 {
20 
21 class CLinearTimeMMD;
22 
43 class CMMDKernelSelectionCombOpt: public CMMDKernelSelectionComb
44 {
45 public:
46 
48  CMMDKernelSelectionCombOpt();
49 
56  CMMDKernelSelectionCombOpt(CKernelTwoSampleTest* mmd,
57  float64_t lambda=10E-5);
58 
60  virtual ~CMMDKernelSelectionCombOpt();
61 
75  virtual SGVector<float64_t> compute_measures();
76 
78  virtual const char* get_name() const
79  {
80  return "MMDKernelSelectionCombOpt";
81  }
82 
83 private:
85  void init();
86 
87 protected:
90  float64_t m_lambda;
91 };
92 
93 }
94 #endif //USE_GPL_SHOGUN
95 #endif /* __MMDKERNELSELECTIONCOMBOPT_H_ */
double float64_t
Definition: common.h:50
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18

SHOGUN Machine Learning Toolbox - Documentation