README.md 615 Bytes
Newer Older
Guolin Ke's avatar
Guolin Ke committed
1
2
3
4
5
6
7
8
9
10
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:
```
11
lightgbm.exe config=train.conf
Guolin Ke's avatar
Guolin Ke committed
12
13
14
15
16
```


For linux, by running following command in this folder:
```
17
./lightgbm config=train.conf
Guolin Ke's avatar
Guolin Ke committed
18
19
20
21
22
23
24
25
```

#### Prediction

You should finish training first.

For windows, by running following command in this folder:
```
26
lightgbm.exe config=predict.conf
Guolin Ke's avatar
Guolin Ke committed
27
28
29
30
```

For linux, by running following command in this folder:
```
31
./lightgbm config=predict.conf
Guolin Ke's avatar
Guolin Ke committed
32
33
```