Feat C++ API
A feature engineering automation tool
MyLibLinear.h
Go to the documentation of this file.
1 /* FEAT
2 copyright 2017 William La Cava
3 license: GNU/GPL v3
4 */
5 #ifndef MYLIBLINEAR_H
6 #define MYLIBLINEAR_H
7 
8 #include <shogun/classifier/svm/LibLinear.h>
9 
10 namespace shogun {
11  class CMyLibLinear : public CLibLinear
12  {
13  public:
14 
16  /* CMyLibLinear(); */
17 
22  CMyLibLinear(LIBLINEAR_SOLVER_TYPE liblinear_solver_type);
23 
32  /* virtual ~CMyLibLinear(); */
33 
34 
36  void predict_probability(CLabels* labels, const SGVector<float64_t>& outputs);
37  void set_probabilities(CLabels* labels, CFeatures* data);
38  private:
39  void init();
40  };
41 } /* namespace shogun */
42 #endif //_LIBLINEAR_H___
43 
44 
void predict_probability(CLabels *labels, const SGVector< float64_t > &outputs)
Definition: MyLibLinear.cc:55
CMyLibLinear(LIBLINEAR_SOLVER_TYPE liblinear_solver_type)
Definition: MyLibLinear.cc:11
void set_probabilities(CLabels *labels, CFeatures *data)
Definition: MyLibLinear.cc:41