SHOGUN  5.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
MMDKernelSelectionMax.cpp
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 
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 Machine Learning Toolbox - Documentation