Skip to content

Commit 04ebd59

Browse files
authored
Added notebook and data for LGCP tutorial (#4087)
* Added notebook and data for LGCP tutorial * Replacing nested loop for data preprocessing * Adjusting priors and clarifying marks model * Minor additions to text of LGCP tutorial * Fixing import order
1 parent 5ffba85 commit 04ebd59

File tree

3 files changed

+1293
-0
lines changed

3 files changed

+1293
-0
lines changed

docs/source/notebooks/log-gaussian-cox-process.ipynb

Lines changed: 1060 additions & 0 deletions
Large diffs are not rendered by default.

docs/source/notebooks/table_of_contents_examples.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Gallery.contents = {
3333
"GP-smoothing": "Gaussian Processes",
3434
"gaussian_process": "Gaussian Processes",
3535
"conditional-autoregressive-model": "Gaussian Processes",
36+
"log-gaussian-cox-process":"Gaussian Processes",
3637
"dependent_density_regression": "Mixture Models",
3738
"dp_mix": "Mixture Models",
3839
"gaussian-mixture-model-advi": "Mixture Models",

pymc3/examples/data/anemones.csv

Lines changed: 232 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,232 @@
1+
x,y,marks
2+
27,7,6
3+
197,5,4
4+
74,15,4
5+
214,18,6
6+
121,22,3
7+
51,31,3
8+
201,36,5
9+
82,50,3
10+
176,47,5
11+
75,55,4
12+
209,55,4
13+
20,61,6
14+
124,70,5
15+
271,62,3
16+
149,75,4
17+
70,80,7
18+
172,87,4
19+
12,93,6
20+
114,99,6
21+
226,97,5
22+
45,103,4
23+
244,108,4
24+
136,111,5
25+
242,116,3
26+
54,130,3
27+
166,128,6
28+
246,125,4
29+
69,134,5
30+
168,136,4
31+
68,149,4
32+
178,141,5
33+
268,146,3
34+
91,150,3
35+
164,156,5
36+
27,165,3
37+
151,164,4
38+
35,179,5
39+
145,180,8
40+
246,178,5
41+
54,5,4
42+
211,2,6
43+
82,14,5
44+
228,18,6
45+
160,25,4
46+
68,31,5
47+
211,36,3
48+
87,42,3
49+
193,44,4
50+
96,56,5
51+
223,60,6
52+
33,69,4
53+
133,66,4
54+
26,75,3
55+
250,74,4
56+
85,87,4
57+
186,82,6
58+
42,97,5
59+
118,94,4
60+
235,100,3
61+
50,101,6
62+
260,102,5
63+
147,113,3
64+
249,115,3
65+
87,122,6
66+
180,124,5
67+
249,124,3
68+
79,134,3
69+
237,140,2
70+
80,141,5
71+
202,146,7
72+
2,152,4
73+
116,156,4
74+
188,154,4
75+
40,160,3
76+
174,169,3
77+
47,174,4
78+
161,171,3
79+
258,171,6
80+
127,1,2
81+
239,6,6
82+
97,17,6
83+
257,19,3
84+
238,28,4
85+
75,40,3
86+
220,30,7
87+
98,45,6
88+
205,45,3
89+
115,54,4
90+
239,56,2
91+
48,62,7
92+
172,62,4
93+
47,77,5
94+
268,74,4
95+
126,82,4
96+
177,83,4
97+
58,99,6
98+
127,94,4
99+
246,92,3
100+
93,109,3
101+
272,109,3
102+
183,115,3
103+
273,120,6
104+
96,130,7
105+
187,128,3
106+
257,126,7
107+
89,139,3
108+
251,140,2
109+
102,143,4
110+
211,144,3
111+
13,156,5
112+
124,156,2
113+
230,154,3
114+
47,161,4
115+
248,164,4
116+
67,174,3
117+
166,178,3
118+
211,102,3
119+
129,5,6
120+
252,1,3
121+
147,14,4
122+
11,22,5
123+
269,30,3
124+
107,40,6
125+
231,37,3
126+
118,46,7
127+
242,42,5
128+
137,56,3
129+
250,52,3
130+
71,67,4
131+
179,70,4
132+
59,78,5
133+
276,74,4
134+
146,84,4
135+
220,82,6
136+
92,95,5
137+
167,91,3
138+
254,95,3
139+
106,103,3
140+
77,110,5
141+
221,111,3
142+
10,124,6
143+
115,122,5
144+
197,121,5
145+
269,130,4
146+
121,134,4
147+
263,140,3
148+
121,143,4
149+
221,149,4
150+
33,151,4
151+
130,159,4
152+
236,154,3
153+
60,162,4
154+
269,167,7
155+
98,176,4
156+
189,173,6
157+
160,3,5
158+
266,3,7
159+
178,18,6
160+
38,25,3
161+
22,32,6
162+
130,32,5
163+
26,47,4
164+
139,41,6
165+
254,43,4
166+
158,51,5
167+
263,52,4
168+
89,68,5
169+
203,64,3
170+
92,77,6
171+
15,85,3
172+
151,88,3
173+
235,86,6
174+
103,90,4
175+
199,99,6
176+
271,99,4
177+
172,102,4
178+
105,117,6
179+
231,117,3
180+
37,129,5
181+
129,125,3
182+
226,126,4
183+
15,139,6
184+
128,133,5
185+
39,146,5
186+
133,147,4
187+
230,144,5
188+
45,152,4
189+
141,158,3
190+
272,155,3
191+
88,162,4
192+
12,178,4
193+
112,173,4
194+
203,173,4
195+
185,2,5
196+
47,16,4
197+
201,20,5
198+
79,26,5
199+
37,37,5
200+
152,40,4
201+
65,43,6
202+
143,48,4
203+
279,50,4
204+
198,56,5
205+
11,69,3
206+
108,62,5
207+
242,68,4
208+
100,71,3
209+
38,83,4
210+
160,85,4
211+
256,85,4
212+
108,96,3
213+
210,98,4
214+
8,105,5
215+
189,109,5
216+
123,114,3
217+
239,117,3
218+
52,122,5
219+
153,124,3
220+
233,128,4
221+
54,137,5
222+
156,139,6
223+
56,145,2
224+
159,147,5
225+
249,150,2
226+
71,157,3
227+
144,151,2
228+
28,160,3
229+
120,167,3
230+
22,178,7
231+
134,171,5
232+
230,172,4

0 commit comments

Comments
 (0)