Skip to content

Commit 6740b27

Browse files
committed
add: tutorials and artefacts
1 parent e0cbf5c commit 6740b27

File tree

13 files changed

+2788
-0
lines changed

13 files changed

+2788
-0
lines changed
45.7 KB
Loading
Lines changed: 226 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,226 @@
1+
{
2+
"tests": [
3+
{
4+
"name": "width --> num_lines_abs",
5+
"estimator": "LinearRegressionEstimator",
6+
"estimate_type": "coefficient",
7+
"effect": "direct",
8+
"treatment_variable": "width",
9+
"expected_effect": {
10+
"num_lines_abs": "SomeEffect"
11+
},
12+
"formula": "num_lines_abs ~ width",
13+
"skip": false
14+
},
15+
{
16+
"name": "width --> num_shapes_abs | ['height', 'num_lines_abs']",
17+
"estimator": "LinearRegressionEstimator",
18+
"estimate_type": "coefficient",
19+
"effect": "direct",
20+
"treatment_variable": "width",
21+
"expected_effect": {
22+
"num_shapes_abs": "SomeEffect"
23+
},
24+
"formula": "num_shapes_abs ~ width + height + num_lines_abs",
25+
"skip": false
26+
},
27+
{
28+
"name": "width --> num_lines_unit | ['height', 'num_lines_abs']",
29+
"estimator": "LinearRegressionEstimator",
30+
"estimate_type": "coefficient",
31+
"effect": "direct",
32+
"treatment_variable": "width",
33+
"expected_effect": {
34+
"num_lines_unit": "SomeEffect"
35+
},
36+
"formula": "num_lines_unit ~ width + height + num_lines_abs",
37+
"skip": false
38+
},
39+
{
40+
"name": "width --> num_shapes_unit | ['height', 'num_shapes_abs']",
41+
"estimator": "LinearRegressionEstimator",
42+
"estimate_type": "coefficient",
43+
"effect": "direct",
44+
"treatment_variable": "width",
45+
"expected_effect": {
46+
"num_shapes_unit": "SomeEffect"
47+
},
48+
"formula": "num_shapes_unit ~ width + height + num_shapes_abs",
49+
"skip": false
50+
},
51+
{
52+
"name": "num_lines_abs --> num_shapes_abs | ['height', 'width']",
53+
"estimator": "LinearRegressionEstimator",
54+
"estimate_type": "coefficient",
55+
"effect": "direct",
56+
"treatment_variable": "num_lines_abs",
57+
"expected_effect": {
58+
"num_shapes_abs": "SomeEffect"
59+
},
60+
"formula": "num_shapes_abs ~ num_lines_abs + height + width",
61+
"skip": false
62+
},
63+
{
64+
"name": "num_lines_abs --> num_lines_unit | ['height', 'width']",
65+
"estimator": "LinearRegressionEstimator",
66+
"estimate_type": "coefficient",
67+
"effect": "direct",
68+
"treatment_variable": "num_lines_abs",
69+
"expected_effect": {
70+
"num_lines_unit": "SomeEffect"
71+
},
72+
"formula": "num_lines_unit ~ num_lines_abs + height + width",
73+
"skip": false
74+
},
75+
{
76+
"name": "num_lines_abs _||_ num_shapes_unit | ['height', 'num_shapes_abs', 'width']",
77+
"estimator": "LinearRegressionEstimator",
78+
"estimate_type": "coefficient",
79+
"effect": "direct",
80+
"treatment_variable": "num_lines_abs",
81+
"expected_effect": {
82+
"num_shapes_unit": "NoEffect"
83+
},
84+
"formula": "num_shapes_unit ~ num_lines_abs + height + num_shapes_abs + width",
85+
"alpha": 0.05,
86+
"skip": false
87+
},
88+
{
89+
"name": "height --> num_lines_abs",
90+
"estimator": "LinearRegressionEstimator",
91+
"estimate_type": "coefficient",
92+
"effect": "direct",
93+
"treatment_variable": "height",
94+
"expected_effect": {
95+
"num_lines_abs": "SomeEffect"
96+
},
97+
"formula": "num_lines_abs ~ height",
98+
"skip": false
99+
},
100+
{
101+
"name": "intensity --> num_lines_abs",
102+
"estimator": "LinearRegressionEstimator",
103+
"estimate_type": "coefficient",
104+
"effect": "direct",
105+
"treatment_variable": "intensity",
106+
"expected_effect": {
107+
"num_lines_abs": "SomeEffect"
108+
},
109+
"formula": "num_lines_abs ~ intensity",
110+
"skip": false
111+
},
112+
{
113+
"name": "num_shapes_abs _||_ num_lines_unit | ['height', 'width', 'num_lines_abs']",
114+
"estimator": "LinearRegressionEstimator",
115+
"estimate_type": "coefficient",
116+
"effect": "direct",
117+
"treatment_variable": "num_shapes_abs",
118+
"expected_effect": {
119+
"num_lines_unit": "NoEffect"
120+
},
121+
"formula": "num_lines_unit ~ num_shapes_abs + height + width + num_lines_abs",
122+
"alpha": 0.05,
123+
"skip": false
124+
},
125+
{
126+
"name": "num_shapes_abs --> num_shapes_unit | ['height', 'width']",
127+
"estimator": "LinearRegressionEstimator",
128+
"estimate_type": "coefficient",
129+
"effect": "direct",
130+
"treatment_variable": "num_shapes_abs",
131+
"expected_effect": {
132+
"num_shapes_unit": "SomeEffect"
133+
},
134+
"formula": "num_shapes_unit ~ num_shapes_abs + height + width",
135+
"skip": false
136+
},
137+
{
138+
"name": "height --> num_shapes_abs | ['num_lines_abs', 'width']",
139+
"estimator": "LinearRegressionEstimator",
140+
"estimate_type": "coefficient",
141+
"effect": "direct",
142+
"treatment_variable": "height",
143+
"expected_effect": {
144+
"num_shapes_abs": "SomeEffect"
145+
},
146+
"formula": "num_shapes_abs ~ height + num_lines_abs + width",
147+
"skip": false
148+
},
149+
{
150+
"name": "intensity _||_ num_shapes_abs | ['height', 'width', 'num_lines_abs']",
151+
"estimator": "LinearRegressionEstimator",
152+
"estimate_type": "coefficient",
153+
"effect": "direct",
154+
"treatment_variable": "intensity",
155+
"expected_effect": {
156+
"num_shapes_abs": "NoEffect"
157+
},
158+
"formula": "num_shapes_abs ~ intensity + height + width + num_lines_abs",
159+
"alpha": 0.05,
160+
"skip": false
161+
},
162+
{
163+
"name": "num_lines_unit _||_ num_shapes_unit | ['height', 'num_shapes_abs', 'width']",
164+
"estimator": "LinearRegressionEstimator",
165+
"estimate_type": "coefficient",
166+
"effect": "direct",
167+
"treatment_variable": "num_lines_unit",
168+
"expected_effect": {
169+
"num_shapes_unit": "NoEffect"
170+
},
171+
"formula": "num_shapes_unit ~ num_lines_unit + height + num_shapes_abs + width",
172+
"alpha": 0.05,
173+
"skip": false
174+
},
175+
{
176+
"name": "height --> num_lines_unit | ['num_lines_abs', 'width']",
177+
"estimator": "LinearRegressionEstimator",
178+
"estimate_type": "coefficient",
179+
"effect": "direct",
180+
"treatment_variable": "height",
181+
"expected_effect": {
182+
"num_lines_unit": "SomeEffect"
183+
},
184+
"formula": "num_lines_unit ~ height + num_lines_abs + width",
185+
"skip": false
186+
},
187+
{
188+
"name": "intensity _||_ num_lines_unit | ['height', 'width', 'num_lines_abs']",
189+
"estimator": "LinearRegressionEstimator",
190+
"estimate_type": "coefficient",
191+
"effect": "direct",
192+
"treatment_variable": "intensity",
193+
"expected_effect": {
194+
"num_lines_unit": "NoEffect"
195+
},
196+
"formula": "num_lines_unit ~ intensity + height + width + num_lines_abs",
197+
"alpha": 0.05,
198+
"skip": false
199+
},
200+
{
201+
"name": "height --> num_shapes_unit | ['num_shapes_abs', 'width']",
202+
"estimator": "LinearRegressionEstimator",
203+
"estimate_type": "coefficient",
204+
"effect": "direct",
205+
"treatment_variable": "height",
206+
"expected_effect": {
207+
"num_shapes_unit": "SomeEffect"
208+
},
209+
"formula": "num_shapes_unit ~ height + num_shapes_abs + width",
210+
"skip": false
211+
},
212+
{
213+
"name": "intensity _||_ num_shapes_unit | ['height', 'num_shapes_abs', 'width']",
214+
"estimator": "LinearRegressionEstimator",
215+
"estimate_type": "coefficient",
216+
"effect": "direct",
217+
"treatment_variable": "intensity",
218+
"expected_effect": {
219+
"num_shapes_unit": "NoEffect"
220+
},
221+
"formula": "num_shapes_unit ~ intensity + height + num_shapes_abs + width",
222+
"alpha": 0.05,
223+
"skip": false
224+
}
225+
]
226+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
digraph poisson_line_process {
2+
width -> num_lines_abs;
3+
width -> num_shapes_abs;
4+
width -> num_lines_unit;
5+
width -> num_shapes_unit;
6+
height -> num_lines_abs;
7+
height -> num_shapes_abs;
8+
height -> num_lines_unit;
9+
height -> num_shapes_unit;
10+
num_lines_abs -> num_lines_unit;
11+
num_shapes_abs -> num_shapes_unit;
12+
intensity -> num_lines_abs;
13+
num_lines_abs -> num_shapes_abs ;}
52.5 KB
Loading

0 commit comments

Comments
 (0)