Closed lisphilar closed 2 years ago
In-correct Confirmed data (66702086 cases) on 04Apr2022 can be a cause of this error because this made Infected < 0.
In-correct: 66,702,086 Correct: 6,702,086 Source: https://www.mhlw.go.jp/stf/newpage_25006.html
I fixed this error of Japan data uploaded to https://github.com/lisphilar/covid19-sir/tree/master/data
Revision of data fixed this issue without update of CovsirPhy codes. https://gist.github.com/lisphilar/7c1b6b6eb37c89abba78f399baa516f3
Summary
As @_Kaira commented on Kaggle Notebook, ODE parameter estimation with complemented Japan data raises
IndexError
.Codes
https://gist.github.com/lisphilar/5ea32421ab34760767c5953462ad5558
Outputs
IndexError: index 0 is out of bounds for axis 0 with size 0
Environment