Using Python 2.7 with scikit-learn 0.14 package. It runs well on some examples from the user guild expect the Linear Models.
Traceback (most recent call last):
File "E:Pplot_ols.py", line 28, in <module>
from sklearn import datasets, linear_model
File "C:Python27libsite-packagessklearnlinear_model\__init__.py", line 12, in <module>
from .base import LinearRegression
File "C:Python27libsite-packagessklearnlinear_modelase.py", line 29, in <module>
from ..utils.sparsefuncs import mean_variance_axis0, inplace_column_scale
ImportError: cannot import name inplace_column_scale
Thank you~
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…