Skip to content

Commit 2002ebd

Browse files
authored
Create guide for writing custom distributions (#185)
* Create custom_distribution.ipynb * Update custom_distribution.ipynb * Replace 0 with -inf * Set bound on theta to be > 0 * Simplify logp expression pymc-devs/pymc#4775 (comment) * address PR comments * upload csv to data folder * move notebook to examples/pymc3_howtos * add notebook to table of contents * read csv from data folder using try except clause * pre-commit * address PR comments * make predictions on heldout set instead of future * add sampling sanity check
1 parent 0139223 commit 2002ebd

File tree

3 files changed

+628
-1
lines changed

3 files changed

+628
-1
lines changed
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
date,hospitalized_total_covid_patients_suspected_and_confirmed_including_icu,hospitalized_covid_patients_in_icu_suspected_and_confirmed
2+
2020-04-29,88,53.0
3+
2020-04-30,92,52.0
4+
2020-05-01,84,46.0
5+
2020-05-02,85,44.0
6+
2020-05-03,85,45.0
7+
2020-05-04,95,51.0
8+
2020-05-05,87,43.0
9+
2020-05-06,78,47.0
10+
2020-05-07,76,41.0
11+
2020-05-08,68,39.0
12+
2020-05-09,60,38.0
13+
2020-05-10,58,34.0
14+
2020-05-11,48,34.0
15+
2020-05-12,55,37.0
16+
2020-05-13,54,33.0
17+
2020-05-14,67,33.0
18+
2020-05-15,70,34.0
19+
2020-05-16,71,35.0
20+
2020-05-17,75,34.0
21+
2020-05-18,73,35.0
22+
2020-05-19,72,34.0
23+
2020-05-20,78,40.0
24+
2020-05-21,71,35.0
25+
2020-05-22,66,33.0
26+
2020-05-23,64,31.0
27+
2020-05-24,63,30.0
28+
2020-05-25,59,28.0
29+
2020-05-26,57,26.0
30+
2020-05-27,62,24.0
31+
2020-05-28,58,21.0
32+
2020-05-29,55,22.0
33+
2020-05-30,50,22.0
34+
2020-05-31,51,17.0
35+
2020-06-01,54,17.0
36+
2020-06-02,56,19.0
37+
2020-06-03,52,19.0
38+
2020-06-04,53,20.0
39+
2020-06-05,52,19.0
40+
2020-06-06,44,18.0
41+
2020-06-07,44,14.0
42+
2020-06-08,44,14.0
43+
2020-06-09,44,17.0
44+
2020-06-10,44,16.0
45+
2020-06-11,40,16.0
46+
2020-06-12,40,16.0
47+
2020-06-13,39,14.0
48+
2020-06-14,32,15.0
49+
2020-06-15,32,15.0
50+
2020-06-16,30,15.0
51+
2020-06-17,39,18.0
52+
2020-06-18,36,17.0
53+
2020-06-19,37,16.0
54+
2020-06-20,35,15.0
55+
2020-06-21,31,14.0
56+
2020-06-22,29,15.0
57+
2020-06-23,28,13.0
58+
2020-06-24,34,13.0
59+
2020-06-25,31,12.0
60+
2020-06-26,29,12.0
61+
2020-06-27,32,12.0
62+
2020-06-28,20,9.0
63+
2020-06-29,20,9.0
64+
2020-06-30,23,9.0
65+
2020-07-01,24,8.0
66+
2020-07-02,21,8.0
67+
2020-07-03,19,8.0
68+
2020-07-04,21,9.0
69+
2020-07-05,14,6.0
70+
2020-07-06,18,8.0

0 commit comments

Comments
 (0)