gpt4 book ai didi

python - 无法从 'StandardScalar' 导入名称 'sklearn.preprocessing'

转载 作者:行者123 更新时间:2023-12-05 08:40:17 27 4
gpt4 key购买 nike

我正在尝试从 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

最佳答案

关于python - 无法从 'StandardScalar' 导入名称 'sklearn.preprocessing',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56526848/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com