Skip to content

Commit 597a1f1

Browse files
committed
appendix nearly done
1 parent b738490 commit 597a1f1

File tree

16 files changed

+2570
-1864
lines changed

16 files changed

+2570
-1864
lines changed

_freeze/sections/experiments/mitigation_strategies/execute-results/epub.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

_freeze/sections/experiments/mitigation_strategies/execute-results/html.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

_freeze/sections/experiments/real_world/execute-results/epub.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

_freeze/sections/experiments/real_world/execute-results/html.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

_freeze/sections/experiments/synthetic/execute-results/epub.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

_freeze/sections/experiments/synthetic/execute-results/html.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

appendix.pdf

24.4 MB
Binary file not shown.

appendix.qmd

Lines changed: 265 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,265 @@
1+
---
2+
julia:
3+
exeflags: ["+1.8"]
4+
format: pdf
5+
execute:
6+
echo: false
7+
---
8+
9+
```{julia}
10+
#| eval: true
11+
12+
projectdir = splitpath(pwd()) |>
13+
ss -> joinpath(ss[1:findall([s == "endogenous-macrodynamics-in-algorithmic-recourse" for s in ss])[1]]...)
14+
cd(projectdir)
15+
```
16+
17+
## Supplementary Material {#sec-satml-appendices .appendix}
18+
19+
```{julia}
20+
using EMAR
21+
www_paper_root = "paper/www/appendix/"
22+
```
23+
24+
### Detailed Results: Synthetic Data
25+
26+
```{julia}
27+
data_names = ["Circles", "Linearly Separable", "Moons", "Overlapping"]
28+
www_paper_path = joinpath(www_paper_root, "synthetic")
29+
```
30+
31+
#### Line Charts
32+
33+
```{julia}
34+
#| eval: true
35+
#| output: asis
36+
#| echo: false
37+
38+
fig_label_prefix = "line"
39+
fig_labels = (nm -> "fig-$(fig_label_prefix)-$nm").(replace.(lowercase.(data_names), " " => "-"))
40+
_str = "The evolution of the evaluation metrics over the course of the experiment is shown for different datasets in @$(fig_labels[1]) to @$(fig_labels[end])."
41+
println(_str)
42+
```
43+
44+
```{julia}
45+
#| eval: true
46+
#| output: asis
47+
#| echo: false
48+
49+
str_pattern = "line_chart"
50+
fig_caption = "Evolution of evaluation metrics over the course of the experiment."
51+
full_paths = joinpath.(www_paper_path, readdir(www_paper_path)[contains.(readdir(www_paper_path), str_pattern)])
52+
include_img_commands = EMAR.get_img_command(data_names, full_paths, fig_labels; fig_caption)
53+
_str = join(include_img_commands, "\n\n")
54+
println(_str)
55+
```
56+
57+
#### Error Bar Charts
58+
59+
```{julia}
60+
#| eval: true
61+
#| output: asis
62+
#| echo: false
63+
64+
fig_label_prefix = "errorbar"
65+
fig_labels = (nm -> "fig-$(fig_label_prefix)-$nm").(replace.(lowercase.(data_names), " " => "-"))
66+
_str = "The evaluation metrics at the end of the experiment are shown for different datasets in @$(fig_labels[1]) to @$(fig_labels[end])."
67+
println(_str)
68+
```
69+
70+
```{julia}
71+
#| eval: true
72+
#| output: asis
73+
#| echo: false
74+
75+
str_pattern = "errorbar"
76+
fig_caption = "Evaluation metrics at the end of the experiment."
77+
full_paths = joinpath.(www_paper_path, readdir(www_paper_path)[contains.(readdir(www_paper_path), str_pattern)])
78+
include_img_commands = EMAR.get_img_command(data_names, full_paths, fig_labels; fig_caption)
79+
_str = join(include_img_commands, "\n\n")
80+
println(_str)
81+
```
82+
83+
### Detailed Results: Real-World Data
84+
85+
```{julia}
86+
data_names = ["California Housing", "Credit Default", "GMSC"]
87+
www_paper_path = joinpath(www_paper_root, "real-world")
88+
```
89+
90+
#### Line Charts
91+
92+
```{julia}
93+
#| eval: true
94+
#| output: asis
95+
#| echo: false
96+
97+
fig_label_prefix = "line"
98+
fig_labels = (nm -> "fig-$(fig_label_prefix)-$nm").(replace.(lowercase.(data_names), " " => "-"))
99+
_str = "The evolution of the evaluation metrics over the course of the experiment is shown for different datasets in @$(fig_labels[1]) to @$(fig_labels[end])."
100+
println(_str)
101+
```
102+
103+
```{julia}
104+
#| eval: true
105+
#| output: asis
106+
#| echo: false
107+
108+
str_pattern = "line_chart"
109+
fig_caption = "Evolution of evaluation metrics over the course of the experiment."
110+
full_paths = joinpath.(www_paper_path, readdir(www_paper_path)[contains.(readdir(www_paper_path), str_pattern)])
111+
include_img_commands = EMAR.get_img_command(data_names, full_paths, fig_labels; fig_caption)
112+
_str = join(include_img_commands, "\n\n")
113+
println(_str)
114+
```
115+
116+
#### Error Bar Charts
117+
118+
```{julia}
119+
#| eval: true
120+
#| output: asis
121+
#| echo: false
122+
123+
fig_label_prefix = "errorbar"
124+
fig_labels = (nm -> "fig-$(fig_label_prefix)-$nm").(replace.(lowercase.(data_names), " " => "-"))
125+
_str = "The evaluation metrics at the end of the experiment are shown for different datasets in @$(fig_labels[1]) to @$(fig_labels[end])."
126+
println(_str)
127+
```
128+
129+
```{julia}
130+
#| eval: true
131+
#| output: asis
132+
#| echo: false
133+
134+
str_pattern = "errorbar"
135+
fig_caption = "Evaluation metrics at the end of the experiment."
136+
full_paths = joinpath.(www_paper_path, readdir(www_paper_path)[contains.(readdir(www_paper_path), str_pattern)])
137+
include_img_commands = EMAR.get_img_command(data_names, full_paths, fig_labels; fig_caption)
138+
_str = join(include_img_commands, "\n\n")
139+
println(_str)
140+
```
141+
142+
### Detailed Results: Mitigation
143+
144+
```{julia}
145+
data_names = [
146+
"California Housing",
147+
"Circles",
148+
"Credit Default",
149+
"GMSC",
150+
"Linearly Separable",
151+
"Moons",
152+
"Overlapping"
153+
]
154+
www_paper_path = joinpath(www_paper_root, "mitigation")
155+
```
156+
157+
#### Line Charts
158+
159+
```{julia}
160+
#| eval: true
161+
#| output: asis
162+
#| echo: false
163+
164+
fig_label_prefix = "mit-line"
165+
fig_labels = (nm -> "fig-$(fig_label_prefix)-$nm").(replace.(lowercase.(data_names), " " => "-"))
166+
_str = "The evolution of the evaluation metrics over the course of the experiment is shown for different datasets in @$(fig_labels[1]) to @$(fig_labels[end])."
167+
println(_str)
168+
```
169+
170+
```{julia}
171+
#| eval: true
172+
#| output: asis
173+
#| echo: false
174+
175+
str_pattern = "line_chart"
176+
fig_caption = "Evolution of evaluation metrics over the course of the experiment."
177+
full_paths = joinpath.(www_paper_path, readdir(www_paper_path)[contains.(readdir(www_paper_path), str_pattern)])
178+
include_img_commands = EMAR.get_img_command(data_names, full_paths, fig_labels; fig_caption)
179+
_str = join(include_img_commands, "\n\n")
180+
println(_str)
181+
```
182+
183+
#### Error Bar Charts
184+
185+
```{julia}
186+
#| eval: true
187+
#| output: asis
188+
#| echo: false
189+
190+
fig_label_prefix = "mit-errorbar"
191+
fig_labels = (nm -> "fig-$(fig_label_prefix)-$nm").(replace.(lowercase.(data_names), " " => "-"))
192+
_str = "The evaluation metrics at the end of the experiment are shown for different datasets in @$(fig_labels[1]) to @$(fig_labels[end])."
193+
println(_str)
194+
```
195+
196+
```{julia}
197+
#| eval: true
198+
#| output: asis
199+
#| echo: false
200+
201+
str_pattern = "errorbar"
202+
fig_caption = "Evaluation metrics at the end of the experiment."
203+
full_paths = joinpath.(www_paper_path, readdir(www_paper_path)[contains.(readdir(www_paper_path), str_pattern)])
204+
include_img_commands = EMAR.get_img_command(data_names, full_paths, fig_labels; fig_caption)
205+
_str = join(include_img_commands, "\n\n")
206+
println(_str)
207+
```
208+
209+
### Detailed Results: Mitigation with Latent Space Search
210+
211+
```{julia}
212+
data_names = ["Circles", "Linearly Separable", "Moons", "Overlapping"]
213+
```
214+
215+
#### Line Charts
216+
217+
```{julia}
218+
#| eval: true
219+
#| output: asis
220+
#| echo: false
221+
222+
fig_label_prefix = "mit-line-latent"
223+
fig_labels = (nm -> "fig-$(fig_label_prefix)-$nm").(replace.(lowercase.(data_names), " " => "-"))
224+
_str = "The evolution of the evaluation metrics over the course of the experiment is shown for different datasets in @$(fig_labels[1]) to @$(fig_labels[end])."
225+
println(_str)
226+
```
227+
228+
```{julia}
229+
#| eval: true
230+
#| output: asis
231+
#| echo: false
232+
233+
str_pattern = "line_chart_latent"
234+
fig_caption = "Evolution of evaluation metrics over the course of the experiment."
235+
full_paths = joinpath.(www_paper_path, readdir(www_paper_path)[contains.(readdir(www_paper_path), str_pattern)])
236+
include_img_commands = EMAR.get_img_command(data_names, full_paths, fig_labels; fig_caption)
237+
_str = join(include_img_commands, "\n\n")
238+
println(_str)
239+
```
240+
241+
#### Error Bar Charts
242+
243+
```{julia}
244+
#| eval: true
245+
#| output: asis
246+
#| echo: false
247+
248+
fig_label_prefix = "mit-errorbar-latent"
249+
fig_labels = (nm -> "fig-$(fig_label_prefix)-$nm").(replace.(lowercase.(data_names), " " => "-"))
250+
_str = "The evaluation metrics at the end of the experiment are shown for different datasets in @$(fig_labels[1]) to @$(fig_labels[end])."
251+
println(_str)
252+
```
253+
254+
```{julia}
255+
#| eval: true
256+
#| output: asis
257+
#| echo: false
258+
259+
str_pattern = "errorbar_chart_latent"
260+
fig_caption = "Evaluation metrics at the end of the experiment."
261+
full_paths = joinpath.(www_paper_path, readdir(www_paper_path)[contains.(readdir(www_paper_path), str_pattern)])
262+
include_img_commands = EMAR.get_img_command(data_names, full_paths, fig_labels; fig_caption)
263+
_str = join(include_img_commands, "\n\n")
264+
println(_str)
265+
```
590 Bytes
Binary file not shown.

docs/search.json

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

0 commit comments

Comments
 (0)