10 #ifndef __MMDKERNELSELECTIONMAX_H_
11 #define __MMDKERNELSELECTIONMAX_H_
55 virtual const char*
get_name()
const {
return "MMDKernelSelectionMax"; }
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
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.
virtual ~CMMDKernelSelectionMax()