28 REQUIRE(dynamic_cast<CLinearTimeMMD*>(mmd),
"%s::%s(): Only " 29 "CLinearTimeMMD is currently supported! Provided instance is " 41 void CMMDKernelSelectionCombOpt::init()
76 for (
index_t i=0; i<num_kernels; ++i)
CKernelTwoSampleTestStatistic * m_mmd
void display_matrix(const char *name="matrix") const
static SGMatrix< float64_t > m_Q
virtual SGVector< float64_t > solve_optimization(SGVector< float64_t > mmds)
int32_t get_num_subkernels()
virtual ~CMMDKernelSelectionCombOpt()
virtual const char * get_name() const =0
The Combined kernel is used to combine a number of kernels into a single CombinedKernel object by lin...
EMessageType get_loglevel() const
const char * get_name() const
CMMDKernelSelectionCombOpt()
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_measures()
This class implements the linear time Maximum Mean Statistic as described in [1]. This statistic is i...
virtual CKernel * get_kernel()
void display_vector(const char *name="vector", const char *prefix="") const
Base class for kernel selection of combined kernels. Given an MMD instance whose underlying kernel is...