SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
MMDKernelSelectionMax.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 __MMDKERNELSELECTIONMAX_H_
11 #define __MMDKERNELSELECTIONMAX_H_
12 
13 #include <shogun/lib/config.h>
14 
16 
17 namespace shogun
18 {
19 
35 {
36 public:
37 
40 
47 
49  virtual ~CMMDKernelSelectionMax();
50 
53 
55  virtual const char* get_name() const { return "MMDKernelSelectionMax"; }
56 };
57 
58 }
59 
60 #endif /* __MMDKERNELSELECTIONMAX_H_ */
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.
Kernel two sample test base class. Provides an interface for performing a two-sample test using a ker...
virtual SGVector< float64_t > compute_measures()
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
virtual const char * get_name() const
Kernel selection class that selects the single kernel that maximises the MMD statistic. Works for CQuadraticTimeMMD and CLinearTimeMMD. This leads to a heuristic that is better than the standard median heuristic for Gaussian kernels. However, it comes with no guarantees.

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