Skip to content

Latest commit

 

History

History

regression

Regression Example

Here is an example for LightGBM to run regression 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