Cprocc

Results 3 comments of Cprocc

> 嗯嗯,谢谢啦.我再想想 hi, 请问,你的问题得到解决了吗。 我这边构建出来也是很不稳定

https://weibo.cn/comment/IlBcgdrSs?&page=51,比如这个页面就没有数据返回了

> > ValueError: operands could not be broadcast together with shapes > > 您好,这是用预测数据跟实际数据进行对比,我一开始做的时候是用前21天的疫情数据来估算的,之后每天都更新数据,而这里还是用前21天的数据,所以数组大小就不一致了。 > 解决方法: > 把第90行,error函数里的“err = (data["感染者"] - res)**2” 改成 "err = (data["感染者"].iloc[:21] - res)**2"就行了。最新的提交已经更改了。谢谢提醒! 这里应该用err =...