Commit 8c2341b3 authored by wxchan's avatar wxchan Committed by Guolin Ke
Browse files

fix sklearn interface compat (#222)

parent 3db4216a
...@@ -10,6 +10,11 @@ This document gives a basic walkthrough of LightGBM python package. ...@@ -10,6 +10,11 @@ This document gives a basic walkthrough of LightGBM python package.
Install Install
------- -------
* Install the library first, follow the wiki [here](./Installation-Guide.md). * Install the library first, follow the wiki [here](./Installation-Guide.md).
* Install python-package dependencies, `setuptools`, `numpy` and `scipy` is required, `scikit-learn` is required for sklearn interface and recommended. Run:
```
pip install setuptools numpy scipy scikit-learn -U
```
* In the `python-package` directory, run * In the `python-package` directory, run
``` ```
python setup.py install python setup.py install
......
...@@ -69,5 +69,4 @@ except ImportError: ...@@ -69,5 +69,4 @@ except ImportError:
LGBMClassifierBase = object LGBMClassifierBase = object
LGBMRegressorBase = object LGBMRegressorBase = object
LGBMLabelEncoder = None LGBMLabelEncoder = None
LGBMDeprecated = None
LGBMStratifiedKFold = None LGBMStratifiedKFold = None
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment