Feat C++ API
A feature engineering automation tool
FT::Model Namespace Reference

namespace containing ML methods used in Feat More...

Classes

class  ML
 class that specifies the machine learning algorithm to pair with Feat. More...
 

Enumerations

enum  ML_TYPE {
  LARS , Ridge , RF , SVM ,
  CART , LR , L1_LR
}
 

Functions

void to_json (json &j, const ML &ml)
 serialization More...
 
void from_json (const json &j, ML &model)
 
void to_json (json &j, const shared_ptr< ML > &model)
 
void from_json (const json &j, shared_ptr< ML > &model)
 

Variables

map< ML_TYPE, float > C_DEFAULT
 

Detailed Description

namespace containing ML methods used in Feat

Enumeration Type Documentation

◆ ML_TYPE

Enumerator
LARS 
Ridge 
RF 
SVM 
CART 
LR 
L1_LR 

Definition at line 65 of file ml.h.

Function Documentation

◆ from_json() [1/2]

void FT::Model::from_json ( const json &  j,
ML model 
)

Definition at line 809 of file ml.cc.

◆ from_json() [2/2]

void FT::Model::from_json ( const json &  j,
shared_ptr< ML > &  model 
)

Definition at line 859 of file ml.cc.

◆ to_json() [1/2]

void FT::Model::to_json ( json &  j,
const ML ml 
)

serialization

Definition at line 749 of file ml.cc.

◆ to_json() [2/2]

void FT::Model::to_json ( json &  j,
const shared_ptr< ML > &  model 
)

Definition at line 854 of file ml.cc.

Variable Documentation

◆ C_DEFAULT

map< ML_TYPE, float > FT::Model::C_DEFAULT
Initial value:
= {
{LARS, 0},
{Ridge, 1e-6},
{LR, 1.0},
{L1_LR, 1.0}
}
@ L1_LR
Definition: ml.h:72
@ LARS
Definition: ml.h:66
@ Ridge
Definition: ml.h:67
@ LR
Definition: ml.h:71

Definition at line 14 of file ml.cc.