README.md 615 Bytes
Newer Older
Guolin Ke's avatar
Guolin Ke committed
1
LambdaRank Example
2
3
==================

Guolin Ke's avatar
Guolin Ke committed
4
5
6
7
8
9
Here is an example for LightGBM to run lambdarank task.

***You should copy executable file to this folder first.***

#### Training

10
11
For Windows, by running following command in this folder:

Guolin Ke's avatar
Guolin Ke committed
12
```
13
lightgbm.exe config=train.conf
Guolin Ke's avatar
Guolin Ke committed
14
15
```

16
For Linux, by running following command in this folder:
Guolin Ke's avatar
Guolin Ke committed
17
18

```
19
./lightgbm config=train.conf
Guolin Ke's avatar
Guolin Ke committed
20
21
22
23
24
25
```

#### Prediction

You should finish training first.

26
27
For Windows, by running following command in this folder:

Guolin Ke's avatar
Guolin Ke committed
28
```
29
lightgbm.exe config=predict.conf
Guolin Ke's avatar
Guolin Ke committed
30
31
```

32
33
For Linux, by running following command in this folder:

Guolin Ke's avatar
Guolin Ke committed
34
```
35
./lightgbm config=predict.conf
Guolin Ke's avatar
Guolin Ke committed
36
```