CODAIT / covid-notebooks

Jupyter notebooks that analyze COVID-19 time series data
Apache License 2.0
104 stars 38 forks source link

Fix regression in curve-fitting notebook #38

Closed frreiss closed 2 years ago

frreiss commented 2 years ago

This PR primarily addresses issue #37, a regression in fit_us_data.ipynb that caused the notebook to crash. The problem was caused by a regression fix in an upstream library that resulted in a Python object for a tensor having an unexpected type. I've added explicit type conversions in two places in the notebook, and now the notebook runs.

I'm also including some general light updating of the code that I did while reproducing the issue from #37:

review-notebook-app[bot] commented 2 years ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB