SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ProbitLikelihood.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) 2013 Roman Votyakov
8  */
9 
10 #ifndef _PROBITLIKELIHOOD_H_
11 #define _PROBITLIKELIHOOD_H_
12 
13 #include <shogun/lib/config.h>
14 
15 #ifdef HAVE_EIGEN3
16 
18 
19 namespace shogun
20 {
21 
32 {
33 public:
36 
37  virtual ~CProbitLikelihood();
38 
43  virtual const char* get_name() const { return "ProbitLikelihood"; }
44 
60  SGVector<float64_t> s2, const CLabels* lab=NULL) const;
61 
77  SGVector<float64_t> s2, const CLabels* lab=NULL) const;
78 
83  virtual ELikelihoodModelType get_model_type() const { return LT_PROBIT; }
84 
97  SGVector<float64_t> func) const;
98 
110  const CLabels* lab, SGVector<float64_t> func, index_t i) const;
111 
129  SGVector<float64_t> s2, const CLabels* lab) const;
130 
146  SGVector<float64_t> s2, const CLabels* lab, index_t i) const;
147 
163  SGVector<float64_t> s2, const CLabels* lab, index_t i) const;
164 
169  virtual bool supports_binary() const { return true; }
170 
171 };
172 }
173 #endif /* HAVE_EIGEN3 */
174 #endif /* _PROBITLIKELIHOOD_H_ */

SHOGUN Machine Learning Toolbox - Documentation