-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruntests.sh
More file actions
50 lines (34 loc) · 902 Bytes
/
runtests.sh
File metadata and controls
50 lines (34 loc) · 902 Bytes
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
#!/user/bin/bash
# This scripts run tests over the classifiers
# It also return stats for the classifiers
testexercise () {
time pipenv run python bismol.py --exercise \
resources/tweet_exercise_20170202033134.json.gz \
testout-`date '+%Y-%m-%d-%H-%M-%S'`.csv
}
#testexercise
testfoodborne () {
time pipenv run python bismol.py --borne \
resources/tweets_foodborne_geotagged_00.json \
testout-`date '+%Y-%m-%d-%H-%M-%S'`.csv
}
#testfoodborne
testfood () {
time pipenv run python bismol.py --food \
resources/tweet_food_20170911104612.json.gz \
testout-`date '+%Y-%m-%d-%H-%M-%S'`.csv
}
testfood
# -------------------- Stats scripts
statsexercise () {
time pipenv run python classifier_stats.py --exercise
}
statsexercise
statsborne() {
time pipenv run python classifier_stats.py --borne
}
statsborne
statsfood () {
time pipenv run python classifier_stats.py --food
}
statsfood