logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

scipy.curve_fit报错:Improper input: N=11 must not exceed M=8

N是需要拟合的参数个数,M是样本个数,应该样本个数>参数个数。

#scipy
scipy.least_squares报错:Residuals are not finite in the initial point.

预测值中存在nan,在func中,y_pred= np.nan_to_num(y_pred)

#scipy
到底了