SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
MMDKernelSelectionMax.cpp
浏览该文件的文档.
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 
12 
13 using namespace shogun;
14 
16 {
17 }
18 
21 {
22 }
23 
25 {
26 }
27 
29 {
30  /* simply return vector with MMDs */
31  return m_estimator->compute_statistic(true);
32 }
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()
CKernelTwoSampleTest * m_estimator
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
virtual SGVector< float64_t > compute_statistic(bool multiple_kernels)=0

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