SHOGUN  v2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GaussianLikelihood.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  * Copyright (C) 2012 Jacob Walker
8  */
9 
10 #ifndef CGAUSSIANLIKELIHOOD_H_
11 #define CGAUSSIANLIKELIHOOD_H_
12 #include <shogun/lib/config.h>
13 #ifdef HAVE_EIGEN3
14 
16 
17 namespace shogun
18 {
19 
27 {
28 
29 public:
30 
31  /*Constructor*/
33 
34  /*Destructor*/
35  virtual ~CGaussianLikelihood();
36 
42  inline virtual const char* get_name() const { return "GaussianLikelihood"; }
43 
48  float64_t get_sigma() {return m_sigma;}
49 
54  void set_sigma(float64_t s) {m_sigma = s;}
55 
62 
69 
75 
86 
87 
101 
114  TParameter* param, CSGObject* obj, SGVector<float64_t> function);
115 
133  TParameter* param, CSGObject* obj, SGVector<float64_t> function);
134 
135 private:
137  float64_t m_sigma;
138 
139  /*Initialize function*/
140  void init();
141 };
142 
143 }
144 #endif /* HAVE_EIGEN3 */
145 #endif /* CGAUSSIANLIKELIHOOD_H_ */

SHOGUN Machine Learning Toolbox - Documentation