30 REQUIRE(mmd,
"CMMDKernelSelection::CMMDKernelSelection(): No MMD instance " 34 "CMMDKernelSelection::CMMDKernelSelection(): provided instance " 35 "for kernel two sample testing has to be a MMD-based class! The " 36 "provided is of class \"%s\"\n", mmd->
get_name());
40 REQUIRE(kernel,
"CMMDKernelSelection::CMMDKernelSelection(): underlying " 41 "\"%s\" has no kernel set!\n", mmd->
get_name());
43 "CMMDKernelSelection(): kernel of underlying \"%s\" is of type \"%s\"" 44 " but is has to be CCombinedKernel\n", mmd->
get_name(),
58 void CMMDKernelSelection::init()
68 SG_DEBUG(
"entering CMMDKernelSelection::select_kernel()\n")
90 SG_DEBUG(
"leaving CMMDKernelSelection::select_kernel()\n");
CKernelTwoSampleTestStatistic * m_mmd
virtual ~CMMDKernelSelection()
virtual CKernel * select_kernel()
Class SGObject is the base class of all shogun objects.
CKernel * get_kernel(int32_t idx)
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...
virtual SGVector< float64_t > compute_measures()=0
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 CKernel * get_kernel()
virtual EStatisticType get_statistic_type() const =0