gpt4 book ai didi

python - 导入错误: cannot import name 'RandomizedLogisticRegression'

转载 作者:行者123 更新时间:2023-12-01 07:23:45 30 4
gpt4 key购买 nike

我正在尝试导入

from sklearn.linear_model import RandomizedLogisticRegression

但我收到以下错误:

ImportError: cannot import name 'RandomizedLogisticRegression'

最佳答案

linear_model.RandomizedLogisticRegressionlinear_model.RandomizedLasso 在 scikit-learn 0.19 中已弃用,并在 0.21 中删除。请参阅release notes及相关issue .

关于python - 导入错误: cannot import name 'RandomizedLogisticRegression' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57554902/

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