SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
MMDKernelSelectionOpt.h
浏览该文件的文档.
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 __MMDKERNELSELECTIONOPTSINGLE_H_
11 #define __MMDKERNELSELECTIONOPTSINGLE_H_
12 
13 #include <shogun/lib/config.h>
14 
16 
17 namespace shogun
18 {
19 
20 class CLinearTimeMMD;
21 
39 {
40 public:
41 
44 
53  float64_t lambda=10E-5);
54 
56  virtual ~CMMDKernelSelectionOpt();
57 
66 
68  virtual const char* get_name() const { return "MMDKernelSelectionOpt"; }
69 
70 private:
72  void init();
73 
74 protected:
78 };
79 
80 }
81 
82 #endif /* __MMDKERNELSELECTIONOPTSINGLE_H_ */
Implements optimal kernel selection for single kernels. Given a number of baseline kernels...
virtual SGVector< float64_t > compute_measures()
Base class for kernel selection for MMD-based two-sample test statistic implementations. Provides abstract methods for selecting kernels and computing criteria or kernel weights for the implemented method. In order to implement new methods for kernel selection, simply write a new implementation of this class.
virtual const char * get_name() const
Kernel two sample test base class. Provides an interface for performing a two-sample test using a ker...
double float64_t
Definition: common.h:50
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18

SHOGUN 机器学习工具包 - 项目文档