treelite
Public Member Functions | Public Attributes | List of all members
CLIParam Struct Reference
Inheritance diagram for CLIParam:
Inheritance graph
[legend]
Collaboration diagram for CLIParam:
Collaboration graph
[legend]

Public Member Functions

 DMLC_DECLARE_PARAMETER (CLIParam)
 
void Configure (const std::vector< std::pair< std::string, std::string > > &cfg)
 

Public Attributes

int task
 the task name
 
int verbose
 whether verbose
 
int format
 model format
 
std::string model_in
 model file
 
std::string name_codegen_dir
 directory name for generated code files
 
std::string name_annotate
 name of generated annotation file
 
std::string name_pred
 name of text file to save prediction
 
std::string train_data_path
 the path of training set: used for annotation
 
std::string test_data_path
 the path of test set: used for prediction
 
std::string codelib_path
 the path of compiled dynamic shared library: used for prediction
 
int train_format
 training set file format
 
int test_format
 test set file format
 
int nthread
 
int pred_margin
 whether to predict margin instead of transformed probability
 
std::vector< std::pair< std::string, std::string > > cfg
 all the configurations
 

Detailed Description

Definition at line 55 of file cli_main.cc.


The documentation for this struct was generated from the following file: