Skip to content

Latest commit

 

History

History
 
 

binary_classification

Binary Classification Example

Here is an example for LightGBM to run binary classification task.

You should copy executable file to this folder first.

Training

For windows, by running following command in this folder:

lightgbm.exe config=train.conf

For linux, by running following command in this folder:

./lightgbm config=train.conf

Prediction

You should finish training first.

For windows, by running following command in this folder:

lightgbm.exe config=predict.conf

For linux, by running following command in this folder:

./lightgbm config=predict.conf