Feat C++ API
A feature engineering automation tool
shogun::CMyLibLinear Class Reference

#include <MyLibLinear.h>

Inheritance diagram for shogun::CMyLibLinear:
Collaboration diagram for shogun::CMyLibLinear:

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 ()
 

Detailed Description

Definition at line 11 of file MyLibLinear.h.

Constructor & Destructor Documentation

◆ CMyLibLinear()

shogun::CMyLibLinear::CMyLibLinear ( LIBLINEAR_SOLVER_TYPE  liblinear_solver_type)

default constructor
constructor

Parameters
liblinear_solver_typeliblinear_solver_type

Definition at line 11 of file MyLibLinear.cc.

Member Function Documentation

◆ init()

void shogun::CMyLibLinear::init ( )
private

Prevent default bias computation

Definition at line 16 of file MyLibLinear.cc.

◆ predict_probability()

void shogun::CMyLibLinear::predict_probability ( CLabels *  labels,
const SGVector< float64_t > &  outputs 
)

constructor (using L2R_L1LOSS_SVC_DUAL as default)

Parameters
Cconstant C
traindattraining features
trainlabtraining labels destructor WGL: predict probability function, adapted from liblinear package

Definition at line 55 of file MyLibLinear.cc.

◆ set_probabilities()

void shogun::CMyLibLinear::set_probabilities ( CLabels *  labels,
CFeatures *  data 
)

Definition at line 41 of file MyLibLinear.cc.


The documentation for this class was generated from the following files: