48 void CKernelTwoSampleTest::init()
61 "No features and no custom kernel set!\n");
void range_fill(T start=0)
static void permute(SGVector< T > v, CRandom *rand=NULL)
virtual void add_row_subset(SGVector< index_t > subset)
The Custom Kernel allows for custom user provided kernel matrices.
virtual SGVector< float64_t > sample_null()
virtual int32_t get_num_vectors() const =0
virtual float64_t compute_statistic()=0
virtual int32_t get_num_vec_lhs()
virtual void remove_col_subset()
virtual void remove_row_subset()
virtual void add_col_subset(SGVector< index_t > subset)
Provides an interface for performing the classical two-sample test i.e. Given samples from two distri...
Class SGObject is the base class of all shogun objects.
virtual ~CKernelTwoSampleTest()
virtual SGVector< float64_t > sample_null()
all of classes and functions are contained in the shogun namespace
virtual EKernelType get_kernel_type()=0
The class Features is the base class of all feature objects.
index_t m_num_null_samples