LightGBM/examples/lambdarank
James Lamb 631e0a2a7b
[ci] prevent trailing whitespace, ensure files end with newline (#6373)
2024-03-18 23:24:14 -05:00
..
README.md [ci] prevent trailing whitespace, ensure files end with newline (#6373) 2024-03-18 23:24:14 -05:00
predict.conf remove init-score parameter (#2776) 2020-02-20 10:07:57 +08:00
rank.test first commit 2016-08-05 14:06:01 +08:00
rank.test.query first commit 2016-08-05 14:06:01 +08:00
rank.train first commit 2016-08-05 14:06:01 +08:00
rank.train.query first commit 2016-08-05 14:06:01 +08:00
train.conf [ci] prevent trailing whitespace, ensure files end with newline (#6373) 2024-03-18 23:24:14 -05:00

README.md

LambdaRank Example

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

Data Format

To learn more about the query format used in this example, check out the query data format.