You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
684 B

3 years ago
#!/bin/bash
3 years ago
3 years ago
# call me from the parent directory
echo "This script performs the complete analysis steps"
3 years ago
CLEAN=0 # Set to 0 to make some update
3 years ago
./scripts/plot-job-timelines-ks.py 4296426,5024292,7488914 fig/job,fig/job,fig/job
3 years ago
for I in datasets/job_similarities_*.csv ; do
rm *.png *.pdf
3 years ago
echo "processing $I"
3 years ago
set -x
./scripts/plot.R $I > description.txt 2>&1
set +x
3 years ago
I=${I##datasets/}
3 years ago
OUT=${I%%.csv}-out
mkdir $OUT
3 years ago
if [[ $CLEAN != "0" ]] ; then
rm $OUT/*
fi
3 years ago
mv description.txt *.png *.pdf jobs-*.txt $OUT
3 years ago
done
3 years ago
# analyze peformance data
for I in datasets/progress_*.csv ; do
OUT=fig/$(basename ${I%%.csv}-out)
./scripts/plot-performance.R $I $OUT
done