29 REQUIRE(dynamic_cast<CLinearTimeMMD*>(mmd),
"%s::%s(): Only "
30 "CLinearTimeMMD is currently supported! Provided instance is "
57 void CMMDKernelSelectionOpt::init()
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...
virtual const char * get_name() const =0
CKernelTwoSampleTest * m_estimator
all of classes and functions are contained in the shogun namespace
This class implements the linear time Maximum Mean Statistic as described in [1] for streaming data (...
virtual ~CMMDKernelSelectionOpt()
static float32_t sqrt(float32_t x)