小编Abh*_*Rao的帖子

无法从“sklearn.preprocessing”导入名称“StandardScalar”

我正在尝试从 Sklearn 导入 StandardScalar,进行预处理,但它一直给我一个错误。

这是确切的错误:

ImportError                               Traceback (most recent call last)
<ipython-input-6-1f73df509116> in <module>
----> 1 from sklearn.preprocessing import StandardScalar

ImportError: cannot import name 'StandardScalar' from 'sklearn.preprocessing' (c:\users\abhijith rao\appdata\local\programs\python\python37-32\lib\site-packages\sklearn\preprocessing\__init__.py)

from sklearn.preprocessing import StandardScalar
Run Code Online (Sandbox Code Playgroud)

python scikit-learn jupyter-notebook

2
推荐指数
1
解决办法
9549
查看次数

标签 统计

jupyter-notebook ×1

python ×1

scikit-learn ×1