Feat C++ API
A feature engineering automation tool
|
#include <MyLibLinear.h>
Public Member Functions | |
CMyLibLinear (LIBLINEAR_SOLVER_TYPE liblinear_solver_type) | |
void | predict_probability (CLabels *labels, const SGVector< float64_t > &outputs) |
void | set_probabilities (CLabels *labels, CFeatures *data) |
Private Member Functions | |
void | init () |
Definition at line 11 of file MyLibLinear.h.
shogun::CMyLibLinear::CMyLibLinear | ( | LIBLINEAR_SOLVER_TYPE | liblinear_solver_type | ) |
default constructor
constructor
liblinear_solver_type | liblinear_solver_type |
Definition at line 11 of file MyLibLinear.cc.
|
private |
Prevent default bias computation
Definition at line 16 of file MyLibLinear.cc.
void shogun::CMyLibLinear::predict_probability | ( | CLabels * | labels, |
const SGVector< float64_t > & | outputs | ||
) |
constructor (using L2R_L1LOSS_SVC_DUAL as default)
C | constant C |
traindat | training features |
trainlab | training labels destructor WGL: predict probability function, adapted from liblinear package |
Definition at line 55 of file MyLibLinear.cc.
void shogun::CMyLibLinear::set_probabilities | ( | CLabels * | labels, |
CFeatures * | data | ||
) |
Definition at line 41 of file MyLibLinear.cc.