"tests/git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "41c0370b5359aa97e3e9c25ac1ed63c336b67692"
README.md 567 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Python Package Example
=====================
Here is an example for LightGBM to use python package.

***You should install lightgbm (both c++ and python verion) first.***

For the installation, check the wiki [here](https://github.com/Microsoft/LightGBM/wiki/Installation-Guide).

You also need scikit-learn and pandas to run the examples, but they are not required for the package itself. You can install them with pip:
```
pip install -U scikit-learn
pip install -U pandas
```

Now you can run examples in this folder, for example:
```
python simple_example.py
```