SHOGUN  v3.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-2013 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 m);
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  virtual const char* get_name() const
134  {
135  return "HSIC";
136  }
137 
140  {
141  return S_HSIC;
142  }
143 
164 
173 
174 protected:
177 
180 
181 private:
182  void init();
183 
184 };
185 
186 }
187 
188 #endif /* __HSIC_H_ */

SHOGUN Machine Learning Toolbox - Documentation