JeroenKools / covid19

Data visualizations of the spread of the 2019 novel Coronavirus (COVID-19), based on data from Johns Hopkins University.
MIT License
10 stars 5 forks source link

Extrapolation function broke down today #2

Closed ErwinM closed 4 years ago

ErwinM commented 4 years ago

Hi,

We are using your script to run daily numbers at our company - just to inform ourselves.

Since today, the logistics function suddenly returns an overflow error. I am well versed in Python, but not so much in curve fitting. Any chance you can point me in the right direction?

Thanks for your work.

ErwinM commented 4 years ago

Johns Hopkins changed the naming of some countries some days ago. Those changes I've made in the covid19.py script found in my fork of your repo: https://github.com/ErwinM/covid19

JeroenKools commented 4 years ago

Hi Erwin,

The overflow warning is for an intermediate estimate that doesn't get used; parameters that would result in an overflow are out of bounds. But the warning message is kind of confusing, so I changed it to not display the warning (365317308ffa9377b4c083c8a094c8b64b6b5ab6).

As for the country names, can you be more specific? I am aware that some names changed, but to my knowledge the current version of the notebook is not having any issues with that.