[英]How to fix “ImportError: cannot import name '_raise_dep_warning_if_not_pytest' from 'sklearn.utils.deprecation'”?
I am trying to use Pycaret to do classification for an imbalanced dataset我正在尝试使用 Pycaret 对不平衡的数据集进行分类
I installed Pycaret 2.3.1 and have sklearn 0.23.2我安装了 Pycaret 2.3.1 并有 sklearn 0.23.2
When I use the code当我使用代码时
from pycaret.classification import *从 pycaret.classification 导入 *
I get the error我得到错误
Can you help me to fix this?你能帮我解决这个问题吗? Thanks in advance.提前致谢。
Have you tried你有没有尝试过
pip install --upgrade scikit-learn
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.