SHOGUN  v2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StudentsTLikelihood.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  * Code adapted from the GPML Toolbox:
10  * http://www.gaussianprocess.org/gpml/code/matlab/doc/
11  *
12  */
13 
14 #ifndef CSTUDENTSTLIKELIHOOD_H_
15 #define CSTUDENTSTLIKELIHOOD_H_
16 #include <shogun/lib/config.h>
17 #ifdef HAVE_EIGEN3
19 
20 namespace shogun
21 {
22 
30 {
31 
32 public:
33 
34  /*Constructor*/
36 
37  /*Destructor*/
38  virtual ~CStudentsTLikelihood();
39 
45  inline virtual const char* get_name() const { return "StudentsTLikelihood"; }
46 
51  float64_t get_sigma() {return m_sigma;}
52 
57  void set_sigma(float64_t s) {m_sigma = s;}
58 
65 
72 
78 
79 
90 
91 
105 
118  TParameter* param, CSGObject* obj, SGVector<float64_t> function);
119 
137  TParameter* param, CSGObject* obj, SGVector<float64_t> function);
138 
139 private:
141  float64_t m_sigma;
142 
143 
145  void init();
146 
147 };
148 
149 }
150 #endif /* HAVE_EIGEN3 */
151 #endif /* CStudentsTLIKELIHOOD_H_ */

SHOGUN Machine Learning Toolbox - Documentation