29 "CLinearTimeMMD is currently supported! Provided instance is "
54 for (
index_t i=0; i<num_kernels; ++i)
56 for (
index_t j=0; j<num_kernels; ++j)
57 m_Q(i, j)=i==j ? 1 : 0;
virtual CKernel * get_kernel()
static SGMatrix< float64_t > m_Q
virtual ~CMMDKernelSelectionCombMaxL2()
virtual SGVector< float64_t > solve_optimization(SGVector< float64_t > mmds)
int32_t get_num_subkernels()
Kernel two sample test base class. Provides an interface for performing a two-sample test using a ker...
virtual SGVector< float64_t > compute_measures()
The Combined kernel is used to combine a number of kernels into a single CombinedKernel object by lin...
virtual const char * get_name() const =0
CKernelTwoSampleTest * m_estimator
all of classes and functions are contained in the shogun namespace
virtual SGVector< float64_t > compute_statistic(bool multiple_kernels)=0
virtual EStatisticType get_statistic_type() const =0
Base class for kernel selection of combined kernels. Given an MMD instance whose underlying kernel is...
CMMDKernelSelectionCombMaxL2()
virtual const char * get_name() const