You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
model = np.polynomial.Polynomial.fit(t[~china_total.mask], valid, 3)
273
272
plt.plot(t, china_total)
274
-
plt.plot(t, cubic_fit, "--")
273
+
plt.plot(t, model(t), "--")
275
274
```
276
275
277
276
This plot is not so readable since the lines seem to be over each other, so let's summarize in a more elaborate plot. We'll plot the real data when
278
277
available, and show the cubic fit for unavailable data, using this fit to compute an estimate to the observed number of cases on January 28th 2020, 7 days after the beginning of the records:
0 commit comments