SHOGUN  v2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HSIC.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 __HSIC_H_
11 #define __HSIC_H_
12 
14 
15 namespace shogun
16 {
17 
18 template<class T> class SGMatrix;
19 
20 
68 {
69 public:
71  CHSIC();
72 
84  CHSIC(CKernel* kernel_p, CKernel* kernel_q, CFeatures* p_and_q,
85  index_t q_start);
86 
99  CHSIC(CKernel* kernel_p, CKernel* kernel_q, CFeatures* p, CFeatures* q);
100 
101  virtual ~CHSIC();
102 
112  virtual float64_t compute_statistic();
113 
122  virtual float64_t compute_p_value(float64_t statistic);
123 
131  virtual float64_t compute_threshold(float64_t alpha);
132 
133  inline virtual const char* get_name() const
134  {
135  return "HSIC";
136  }
137 
158 
167 
168 protected:
171 
174 
175 private:
176  void init();
177 
178 };
179 
180 }
181 
182 #endif /* __HSIC_H_ */

SHOGUN Machine Learning Toolbox - Documentation