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;
CKernelTwoSampleTestStatistic * m_mmd
static SGMatrix< float64_t > m_Q
virtual ~CMMDKernelSelectionCombMaxL2()
virtual SGVector< float64_t > solve_optimization(SGVector< float64_t > mmds)
int32_t get_num_subkernels()
const char * get_name() const
virtual const char * get_name() const =0
virtual SGVector< float64_t > compute_measures()
The Combined kernel is used to combine a number of kernels into a single CombinedKernel object by lin...
all of classes and functions are contained in the shogun namespace
Two sample test base class. Provides an interface for performing a two-sample test, i.e. Given samples from two distributions and , the null-hypothesis is: , the alternative hypothesis: .
virtual SGVector< float64_t > compute_statistic(bool multiple_kernels)=0
virtual CKernel * get_kernel()
Base class for kernel selection of combined kernels. Given an MMD instance whose underlying kernel is...
virtual EStatisticType get_statistic_type() const =0
CMMDKernelSelectionCombMaxL2()