16 using namespace shogun;
29 "CLinearTimeMMD is currently supported! Provided instance is "
55 for (
index_t i=0; i<num_kernels; ++i)
57 for (
index_t j=0; j<num_kernels; ++j)
58 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...
const char * get_name() const
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
virtual SGVector< float64_t > compute_statistic(bool multiple_kernels)=0
virtual EStatisticType get_statistic_type() const =0
CKernelTwoSampleTest * m_mmd
Base class for kernel selection of combined kernels. Given an MMD instance whose underlying kernel is...
CMMDKernelSelectionCombMaxL2()