SHOGUN  v2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TwoDistributionsTestStatistic.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 __TwoDistributionsTestStatistic_H_
11 #define __TwoDistributionsTestStatistic_H_
12 
14 
15 namespace shogun
16 {
17 
18 class CFeatures;
19 
31 {
32  public:
34 
45 
57 
59 
66 
75  virtual float64_t compute_p_value(float64_t statistic);
76 
85  virtual float64_t compute_threshold(float64_t alpha);
86 
87  inline virtual const char* get_name() const=0;
88 
89  private:
90  void init();
91 
92  protected:
95 
98 };
99 
100 }
101 
102 #endif /* __TwoDistributionsTestStatistic_H_ */

SHOGUN Machine Learning Toolbox - Documentation