#!/bin/bash rm -f results/* python ../scripts/average_ensemble.py low_3612_4.4_-0.25_0.0 200 20 python ../scripts/average_ensemble.py high_3612_4.4_-0.25_0.005 200 20 python ../scripts/average_ensemble.py low_3612_4.5_-0.25_0.0 400 20 python ../scripts/average_ensemble.py high_3612_4.5_-0.25_0.005 200 20 python ../scripts/average_ensemble.py low_3612_4.55_-0.25_0.0 999 999 python ../scripts/average_ensemble.py low_3612_4.6_-0.25_0.0 200 20 python ../scripts/average_ensemble.py low_3612_4.6_-0.25_0.005 200 20 # Since we don't have overlapping hot- and cold-start runs to compare, # merge all the results into files with slightly shorter names cd results for file in *.low ; do cat $file >> ${file/low/high} # Find and replace "low" with "high" rm $file done for file in *.high ; do # Sort high and low together mv $file TEMP sort TEMP > ${file/.high/} # Find and replace ".high" with nothing done rm TEMP