第一个月
ImportError Traceback(most recent call last)in<cell line: 1>()-> 1 plot_model(best,plot=“residuals”)
14 frames /usr/local/lib/python3.10/dist-packages/scipy/signal/_signaltools.py in 11 from scipy import linalg,fft as sp_fft 12 from scipy.fft._helper import _init_nd_shape_and_axes-> 13 from scipy._lib._util import prod as _prod 14 import numpy as np 15 from scipy.special import lambertw
“/usr/local/lib/python3.10/dist-packages/scipy/_lib/_util. py”(/usr/local/lib/python3.10/dist-packages/scipy/_lib/_util.py)
我试图用这行代码绘制我的pycaret模型,但我使用了!pip install --upgrade scipy pycaret,没有修复这个问题。有帮助吗?
我用的是google colab。
已尝试再次安装软件包。
从pycaret.regression导入 *
s = setup(df,target='target',session_id=1405,normalize=True,normalize_method = ' minmax ')
best = compare_models(sort =“RMSE”,n_select=3)
plot_model(best,plot=“残差”)
1条答案
按热度按时间fv2wmkja1#
**重启运行时:**重新安装完包后,重启运行时:
重新启动运行时