SHOGUN  v2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LikelihoodModel.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 CLIKELIHOODMODEL_H_
11 #define CLIKELIHOODMODEL_H_
12 #include <shogun/lib/config.h>
13 #ifdef HAVE_EIGEN3
14 #include <shogun/base/SGObject.h>
16 
17 
18 namespace shogun
19 {
20 
23 {
24  LT_NONE = 0,
27 };
28 
29 
38 {
39 
40 public:
41 
42  /*Constructor*/
44 
45  /*Destructor*/
46  virtual ~CLikelihoodModel();
47 
53  virtual float64_t get_parameter_derivative(const char* param_name);
54 
61 
68 
74 
81  inline virtual float64_t get_degrees_freedom() {return m_df;}
82 
92  SGVector<float64_t> f) = 0;
93 
94 
107  CRegressionLabels* labels, SGVector<float64_t> f, index_t i) = 0;
108 
121  TParameter* param, CSGObject* obj, SGVector<float64_t> function) = 0;
122 
140  TParameter* param, CSGObject* obj, SGVector<float64_t> function) = 0;
141 protected:
142 
145 
146 };
147 
148 
149 }
150 #endif /* HAVE_EIGEN3 */
151 #endif /* CLIKELIHOODMODEL_H_ */

SHOGUN Machine Learning Toolbox - Documentation