65 void CKernelIndependenceTest::init()
virtual bool init(CFeatures *lhs, CFeatures *rhs)
void range_fill(T start=0)
static void permute(SGVector< T > v, CRandom *rand=NULL)
CKernelIndependenceTest()
virtual void add_row_subset(SGVector< index_t > subset)
The Custom Kernel allows for custom user provided kernel matrices.
virtual ~CKernelIndependenceTest()
SGMatrix< float64_t > get_kernel_matrix_L()
virtual CKernel * get_kernel_q()
virtual SGVector< float64_t > sample_null()
virtual int32_t get_num_vectors() const =0
virtual void set_kernel_q(CKernel *kernel_q)
SGMatrix< float64_t > get_kernel_matrix()
virtual CKernel * get_kernel_p()
virtual void remove_col_subset()
virtual void remove_row_subset()
virtual void add_col_subset(SGVector< index_t > subset)
SGMatrix< float64_t > get_kernel_matrix_K()
Class SGObject is the base class of all shogun objects.
Provides an interface for performing the independence test. Given samples from the joint distributio...
virtual SGVector< float64_t > sample_null()
all of classes and functions are contained in the shogun namespace
virtual void set_kernel_p(CKernel *kernel_p)
virtual EKernelType get_kernel_type()=0
The class Features is the base class of all feature objects.
index_t m_num_null_samples
virtual float64_t compute_statistic()=0