-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcookies.json
103 lines (103 loc) · 2.23 KB
/
cookies.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[
{
"modelParams": {
"name": "Cookie Problem",
"description": "http://allendowney.blogspot.com/2011/10/my-favorite-bayess-theorem-problems.html",
"steps": 1,
"method": "rejection",
"include": []
},
"blocks": [
{
"id": "b86790164",
"distribution": "Categorical",
"name": "Urn1Cookie",
"once": false,
"params": {
"vs": "\"Vanilla\", \"Chocolate\"",
"ps": "30/40, 10/40"
},
"show": false,
"type": "Random Variable",
"typeCode": 0,
"dims": "1",
"units": "",
"minimized": false,
"pos": {
"x": -56,
"y": -119
}
},
{
"id": "b81040578",
"distribution": "Categorical",
"name": "Urn2Cookie",
"once": false,
"params": {
"ps": "20/40, 20/40",
"vs": "\"Vanilla\", \"Chocolate\""
},
"show": false,
"type": "Random Variable",
"typeCode": 0,
"dims": "1",
"units": "",
"minimized": false,
"pos": {
"x": 37,
"y": 126
}
},
{
"id": "b80865221",
"distribution": "Categorical",
"name": "Flip",
"once": false,
"params": {
"ps": "0.5, 0.5",
"vs": "\"Urn1\", \"Urn2\""
},
"show": true,
"type": "Random Variable",
"typeCode": 0,
"dims": "1",
"units": "",
"minimized": false,
"pos": {
"x": 125,
"y": -43
}
},
{
"id": "b62071875",
"name": "Cookie",
"history": false,
"show": false,
"type": "Expression",
"typeCode": 1,
"value": "(Flip === \"Urn1\") ? Urn1Cookie : Urn2Cookie",
"units": "",
"minimized": false,
"pos": {
"x": 2,
"y": -1
}
},
{
"id": "b92319960",
"type": "Condition",
"typeCode": 5,
"value": "Cookie === \"Vanilla\"",
"minimized": false,
"pos": {
"x": -125,
"y": 52
}
}
],
"methodParams": {
"chains": 1,
"samples": "100000"
}
}
]