⚡ Adds automatic output saving
This commit is contained in:
25
analyze.sh
25
analyze.sh
@@ -1,10 +1,19 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
./venv/bin/python3 distribution.py --graph --save
|
||||
./venv/bin/python3 analyze_sex.py --graph --save "Figure_13.png"
|
||||
./venv/bin/python3 analyze_ses.py --graph --save "Figure_14.png"
|
||||
./venv/bin/python3 analyze_occupation.py --graph --save "Figure_15.png"
|
||||
./venv/bin/python3 analyze_living.py --graph --save "Figure_16.png"
|
||||
./venv/bin/python3 analyze_commute.py --graph --save "Figure_17.png"
|
||||
./venv/bin/python3 analyze_sleep.py --graph --save "Figure_18.png"
|
||||
./venv/bin/python3 analyze_absence.py --graph --save "Figure_19.png"
|
||||
find results ! -name 'train.txt' -type f -exec rm -f {} +
|
||||
|
||||
./venv/bin/python3 distribution.py --graph --save | tee results/distribution.txt
|
||||
echo -e "\n\n\n\n"
|
||||
./venv/bin/python3 analyze_sex.py --graph --save "results/Figure_13.png" | tee results/sex.txt
|
||||
echo -e "\n\n\n\n"
|
||||
./venv/bin/python3 analyze_ses.py --graph --save "results/Figure_14.png" | tee results/ses.txt
|
||||
echo -e "\n\n\n\n"
|
||||
./venv/bin/python3 analyze_occupation.py --graph --save "results/Figure_15.png" | tee results/occupation.txt
|
||||
echo -e "\n\n\n\n"
|
||||
./venv/bin/python3 analyze_living.py --graph --save "results/Figure_16.png" | tee results/living.txt
|
||||
echo -e "\n\n\n\n"
|
||||
./venv/bin/python3 analyze_commute.py --graph --save "results/Figure_17.png" | tee results/commute.txt
|
||||
echo -e "\n\n\n\n"
|
||||
./venv/bin/python3 analyze_sleep.py --graph --save "results/Figure_18.png" | tee results/sleep.txt
|
||||
echo -e "\n\n\n\n"
|
||||
./venv/bin/python3 analyze_absence.py --graph --save "results/Figure_19.png" | tee results/absence.txt
|
||||
|
Reference in New Issue
Block a user