forked from AaltoML/spatio-temporal-GPs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
76 lines (72 loc) · 3.79 KB
/
Makefile
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
.PHONY: all data experiments
data:
@echo 'Generating Data'
@echo 'Downloading london shape file'
cd datasets/london && sh ./run.sh
@echo 'Downloading laqn air pollution data'
cd datasets/london_air_pollution && sh ./run.sh
@echo 'Downloading new york crime data'
cd datasets/new_york_crime_large && sh ./run.sh
@echo 'Generating Air Quality train-test splits'
cd experiments/air_quality && python setup_data.py
@echo 'Generating NYC train-test splits'
cd experiments/nyc_crime && python setup_data.py
experiments:
@echo 'Running Air Quality experiments'
cd experiments/air_quality && mkdir -p results
@echo 'Running bayesnewton model'
cd experiments/air_quality/models && python m_bayes_newt.py 0 0 0
cd experiments/air_quality/models && python m_bayes_newt.py 1 0 0
cd experiments/air_quality/models && python m_bayes_newt.py 2 0 0
cd experiments/air_quality/models && python m_bayes_newt.py 3 0 0
cd experiments/air_quality/models && python m_bayes_newt.py 4 0 0
@echo 'Running bayesnewton mean-field model'
cd experiments/air_quality/models && python m_bayes_newt.py 0 1 0
cd experiments/air_quality/models && python m_bayes_newt.py 1 1 0
cd experiments/air_quality/models && python m_bayes_newt.py 2 1 0
cd experiments/air_quality/models && python m_bayes_newt.py 3 1 0
cd experiments/air_quality/models && python m_bayes_newt.py 4 1 0
@echo 'Running bayesnewton parallel model'
cd experiments/air_quality/models && python m_bayes_newt.py 0 0 1
cd experiments/air_quality/models && python m_bayes_newt.py 1 0 1
cd experiments/air_quality/models && python m_bayes_newt.py 2 0 1
cd experiments/air_quality/models && python m_bayes_newt.py 3 0 1
cd experiments/air_quality/models && python m_bayes_newt.py 4 0 1
@echo 'Running gpflow model'
cd experiments/air_quality/models && python m_gpflow.py 0
cd experiments/air_quality/models && python m_gpflow.py 1
cd experiments/air_quality/models && python m_gpflow.py 2
cd experiments/air_quality/models && python m_gpflow.py 3
cd experiments/air_quality/models && python m_gpflow.py 4
@echo 'Running ski model'
cd experiments/air_quality/models && python m_ski.py 0
cd experiments/air_quality/models && python m_ski.py 1
cd experiments/air_quality/models && python m_ski.py 2
cd experiments/air_quality/models && python m_ski.py 3
cd experiments/air_quality/models && python m_ski.py 4
@echo 'Running NYC experiments'
cd experiments/nyc_crime && mkdir -p results
@echo 'Running bayesnewton model'
cd experiments/nyc_crime/models && python m_bayes_newt.py 0 0 0
cd experiments/nyc_crime/models && python m_bayes_newt.py 1 0 0
cd experiments/nyc_crime/models && python m_bayes_newt.py 2 0 0
cd experiments/nyc_crime/models && python m_bayes_newt.py 3 0 0
cd experiments/nyc_crime/models && python m_bayes_newt.py 4 0 0
@echo 'Running bayesnewton mean-field model'
cd experiments/nyc_crime/models && python m_bayes_newt.py 0 1 0
cd experiments/nyc_crime/models && python m_bayes_newt.py 1 1 0
cd experiments/nyc_crime/models && python m_bayes_newt.py 2 1 0
cd experiments/nyc_crime/models && python m_bayes_newt.py 3 1 0
cd experiments/nyc_crime/models && python m_bayes_newt.py 4 1 0
@echo 'Running bayesnewton parallel model'
cd experiments/nyc_crime/models && python m_bayes_newt.py 0 0 1
cd experiments/nyc_crime/models && python m_bayes_newt.py 1 0 1
cd experiments/nyc_crime/models && python m_bayes_newt.py 2 0 1
cd experiments/nyc_crime/models && python m_bayes_newt.py 3 0 1
cd experiments/nyc_crime/models && python m_bayes_newt.py 4 0 1
@echo 'Running gpflow model'
cd experiments/nyc_crime/models && python m_gpflow.py 0
cd experiments/nyc_crime/models && python m_gpflow.py 1
cd experiments/nyc_crime/models && python m_gpflow.py 2
cd experiments/nyc_crime/models && python m_gpflow.py 3
cd experiments/nyc_crime/models && python m_gpflow.py 4