Ausführen von ImportError mit sklearn während des Tutorials
Hallo, ich versuche, dem von sklearn bereitgestellten Lernprogramm für maschinelles Lernen zu folgen, und es tritt weiterhin ein Fehler auf.
Ich habe die meiste sklearn-Version von hier heruntergeladen:https://github.com/scikit-learn/scikit-learn
Ich starte Windows
Python: 2.7.5 (32 Bit)
scipy: .12
Anzahl: 1.7.0
Wenn ich renne
from sklearn.linear_model import LinearRegression
model = LinearRegression()
Ich bekomme
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-7-9f5ae92552bb> in <module>()
----> 1 from sklearn.linear_model import LinearRegression
2 model = LinearRegression()
C:\WinPython-32bit-2.7.5.1\python-2.7.5\lib\site-packages\sklearn\linear_model\__init__.py in <module>()
10 # complete documentation.
11
---> 12 from .base import LinearRegression
13
14 from .bayes import BayesianRidge, ARDRegression
C:\WinPython-32bit-2.7.5.1\python-2.7.5\lib\site-packages\sklearn\linear_model\base.py in <module>()
28 from ..utils.sparsefuncs import (csc_mean_variance_axis0,
29 inplace_csc_column_scale)
---> 30 from .cd_fast import sparse_std
31
32
ImportError: No module named cd_fast
Und basierend darauf:https://github.com/scikit-learn/scikit-learn/issues/1202
Es könnte ein Fehler mit blas sein? Aber das ist in scipy, und ich hatte früher Probleme damit, aber ich habe nur scipy aktualisiert und es sollte in Ordnung sein.
Bitte helfen Sie! Danke im Voraus