32 #ifndef STREAMING_MMD_H_
33 #define STREAMING_MMD_H_
42 class CStreamingFeatures;
203 bool multiple_kernels=
false)=0;
271 return "StreamingMMD";
virtual void compute_statistic_and_variance(SGVector< float64_t > &statistic, SGVector< float64_t > &variance, bool multiple_kernels=false)=0
virtual float64_t compute_threshold(float64_t alpha)
virtual CStreamingFeatures * get_streaming_q()
virtual SGVector< float64_t > compute_squared_mmd(CKernel *kernel, CList *data, index_t num_this_run)=0
virtual CStreamingFeatures * get_streaming_p()
void set_simulate_h0(bool simulate_h0)
Kernel two sample test base class. Provides an interface for performing a two-sample test using a ker...
virtual SGVector< float64_t > sample_null()
virtual float64_t compute_p_value(float64_t statistic)
virtual float64_t compute_variance_estimate()
CStreamingFeatures * m_streaming_q
Abstract base class that provides an interface for performing kernel two-sample test on streaming dat...
void set_blocksize(index_t blocksize)
virtual CFeatures * get_p_and_q()
virtual const char * get_name() const
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
Streaming features are features which are used for online algorithms.
CStreamingFeatures * m_streaming_p
virtual void set_p_and_q(CFeatures *p_and_q)
CList * stream_data_blocks(index_t num_blocks, index_t num_this_run)
virtual void compute_statistic_and_Q(SGVector< float64_t > &statistic, SGMatrix< float64_t > &Q)=0
virtual float64_t perform_test()
Class List implements a doubly connected list for low-level-objects.
virtual float64_t compute_statistic()