I'm getting the following error while importing LGBMResgressor
to lightgbm
:
ImportError
Traceback (most recent call last)
<ipython-input-38-1a53b4f7b770> in <module>()
5 from sklearn.kernel_ridge import KernelRidge
6 import lightgbm as lgb
----> 7 from lightgbm import LGBMRegressor
8 # from lightgbm.sklearn import LGBMRegressor
9 from sklearn.base import BaseEstimator, TransformerMixin, RegressorMixin, clone
ImportError: cannot import name 'LGBMRegressor'
lightgbm
's version is 2.0.5, and it is installed on Windows 10 by pip install lightgbm
.