-
Notifications
You must be signed in to change notification settings - Fork 1
/
compute_correlations_probabilities.sh
executable file
·33 lines (26 loc) · 1.42 KB
/
compute_correlations_probabilities.sh
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
#!/bin/bash
folder_name=$1
if test $# -lt 1 ; then echo 'Provide a folder_name in logs' ; exit 1 ; fi
if [ ! -d "logs/$folder_name" ]; then
echo "logs/$folder_name does not exist."
exit 1
fi
echo "******* Search on BeamNG + migration on Udacity and all individuals migrated on Donkey *******"
python compute_mapelites_correlation.py \
--folder logs/$folder_name \
--filepaths merged_mapelites_beamng_search_mapelites_migration_beamng_udacity_search merged_mapelites_migration_donkey_udacity_search_mapelites_migration_donkey_beamng_search \
--load-probability-map \
--failure-probability
echo "******* Search on Udacity + migration on BeamNG and all individuals migrated on Donkey *******"
python compute_mapelites_correlation.py \
--folder logs/$folder_name \
--filepaths merged_mapelites_udacity_search_mapelites_migration_udacity_beamng_search merged_mapelites_migration_donkey_udacity_search_mapelites_migration_donkey_beamng_search \
--load-probability-map \
--failure-probability
echo "******* Search on both BeamNG and Udacity (PROD) and all individuals migrated on Donkey *******"
python compute_mapelites_correlation.py \
--folder logs/$folder_name \
--filepaths merged_merged_beamng_udacity merged_mapelites_migration_donkey_udacity_search_mapelites_migration_donkey_beamng_search \
--load-probability-map \
--failure-probability \
--multiply-probabilities