SHOGUN
v2.0.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
shogun
statistics
KernelTwoSampleTestStatistic.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General Public License as published by
4
* the Free Software Foundation; either version 3 of the License, or
5
* (at your option) any later version.
6
*
7
* Written (W) 2012 Heiko Strathmann
8
*/
9
10
#ifndef __KERNELTWOSAMPLETESTSTATISTIC_H_
11
#define __KERNELTWOSAMPLETESTSTATISTIC_H_
12
13
#include <
shogun/statistics/TwoDistributionsTestStatistic.h
>
14
15
namespace
shogun
16
{
17
18
class
CFeatures;
19
class
CKernel;
20
33
class
CKernelTwoSampleTestStatistic
:
public
CTwoDistributionsTestStatistic
34
{
35
public
:
36
CKernelTwoSampleTestStatistic
();
37
48
CKernelTwoSampleTestStatistic
(
CKernel
* kernel,
CFeatures
* p_and_q,
49
index_t
q_start);
50
62
CKernelTwoSampleTestStatistic
(
CKernel
* kernel,
CFeatures
* p,
63
CFeatures
* q);
64
65
virtual
~CKernelTwoSampleTestStatistic
();
66
74
virtual
SGVector<float64_t>
bootstrap_null
();
75
76
inline
virtual
const
char
*
get_name
()
const
=0;
77
78
private
:
79
void
init();
80
81
protected
:
83
CKernel
*
m_kernel
;
84
};
85
86
}
87
88
#endif
/* __KERNELTWOSAMPLETESTSTATISTIC_H_ */
SHOGUN
Machine Learning Toolbox - Documentation