LightGBM/examples/binary_classification
Nikita Titov 13f2e92bb0
[ci] check JavaScript code with `biome` tool (#6711)
* lint js code

* hotfix

* Update .editorconfig

Co-authored-by: James Lamb <jaylamb20@gmail.com>

---------

Co-authored-by: James Lamb <jaylamb20@gmail.com>
2024-11-03 19:32:25 +03:00
..
README.md [docs] updated instructions in examples to match ones from ranking example (#2585) 2019-11-22 20:03:00 +03:00
binary.test first commit 2016-08-05 14:06:01 +08:00
binary.test.weight [examples] really use weights in example (#2378) 2019-09-12 14:22:28 +03:00
binary.train first commit 2016-08-05 14:06:01 +08:00
binary.train.weight [examples] really use weights in example (#2378) 2019-09-12 14:22:28 +03:00
forced_splits.json [ci] check JavaScript code with `biome` tool (#6711) 2024-11-03 19:32:25 +03:00
predict.conf remove init-score parameter (#2776) 2020-02-20 10:07:57 +08:00
train.conf [ci] prevent trailing whitespace, ensure files end with newline (#6373) 2024-03-18 23:24:14 -05:00
train_linear.conf [ci] prevent trailing whitespace, ensure files end with newline (#6373) 2024-03-18 23:24:14 -05:00

README.md

Binary Classification Example

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

You must follow the installation instructions for the following commands to work. The lightgbm binary must be built and available at the root of this project.

Training

Run the following command in this folder:

"../../lightgbm" config=train.conf

Prediction

You should finish training first.

Run the following command in this folder:

"../../lightgbm" config=predict.conf