38 using namespace internal;
52 self=std::unique_ptr<Self>(
new Self(TwoSampleTest::num_kernels));
57 self=std::unique_ptr<Self>(
new Self(TwoSampleTest::num_kernels));
58 set_p(samples_from_p);
59 set_q(samples_from_q);
68 REQUIRE(kernel,
"Kernel cannot be NULL!\n");
69 self->kernel_mgr.kernel_at(0)=kernel;
70 self->kernel_mgr.restore_kernel_at(0);
80 return "TwoSampleTest";
85 return self->kernel_mgr;
90 return self->kernel_mgr;
virtual void set_p(CFeatures *samples_from_p)
virtual void set_q(CFeatures *samples_from_q)
virtual const char * get_name() const
virtual ~CTwoSampleTest()
Class TwoDistributionTest is the base class for the statistical hypothesis testing with samples from ...
internal::KernelManager & get_kernel_mgr()
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
Self(index_t num_kernels)
CKernel * get_kernel() const
virtual void set_kernel(CKernel *kernel)