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.

Trainin

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