import error
from sklearn.ensemble import HistGradientBoostingRegressor
cmd
from sklearn.ensemble import HistGradientBoostingRegressor
ImportError: cannot import name 'HistGradientBoostingRegressor' from 'sklearn.ensemble'
win10 and ubuntu18.04
sklearn version is 0.20.1 and 0.21.1
I open this source code, can't find code about this function.
HistGradientBoostingRegressor is experimental. You need to enable experimental features first:
from sklearn.experimental import enable_hist_gradient_boosting
from sklearn.ensemble import HistGradientBoostingRegressor
Most helpful comment
HistGradientBoostingRegressoris experimental. You need to enable experimental features first: