Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
LightGBM::MemApp Class Reference
Inheritance diagram for LightGBM::MemApp:
LightGBM::Application

Public Member Functions

 MemApp (int argc, char **argv)
 
int init (map< string, string > &initialization_map)
 
int set_params (map< string, string > &initialization_map)
 
int InitTrain (float *xdata, float *ydata, const float *weight, int nrows, int ncols)
 
void Train ()
 
void Predict (float *x, int nrows, int ncols, float *&preds) const
 
void PredictShap (float *x, int nrows, int ncols, float *&shap_vals) const
 
int InitTrainData (float *xdata, float *ydata, const float *weight, int nrows, int ncols)
 
int serialize_to_string (string &str) const
 
int deserialize_from_string (string &str)
 
std::string get_boosting_type ()
 
void fetch_boosting (LightGBM::Boosting *&res)
 
void fetch_early_stop (LightGBM::PredictionEarlyStopInstance &early_stop_)
 
int n_preds_per_sample () const
 
void calc_feature_importance (vector< float > &features_importance_scores, const string &general_params, int max_feature_idx_)
 
- Public Member Functions inherited from LightGBM::Application
 Application (int argc, char **argv)
 
 ~Application ()
 Destructor.
 
void Run ()
 To call this funciton to run application.
 

Data Fields

bool is_silent
 
bool only_fatal
 

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