-
Notifications
You must be signed in to change notification settings - Fork 0
/
effectiveness.sh
27 lines (23 loc) · 1.2 KB
/
effectiveness.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
#!/bin/sh
VENV_DIR=./venv
AUTOML_TIME=1800 # time for each experiment in seconds
# Command to check everything works
$VENV_DIR/bin/python -m symbolic_features.effectiveness classification --featureset=$1 --dataset=$2 --extension=$3 --keep_first_10_pc=$4 --automl_time=$AUTOML_TIME 2>&1 | tee -a $5
# Command to run all the experiments
# featuresets="musif musif_native music21 music21_native jsymbolic musif_native-jsymbolic musif_native-music21_native music21_native-jsymbolic musif_native-music21_native-jsymbolic"
# datasets="asap-scores asap-performances didone EWLD JLR quartets"
# extensions="mid xml krn"
# pca_list="True False"
# for pca in $pca_list; do
# for featureset in $featuresets; do
# for dataset in $datasets; do
# for extension in $extensions; do
# echo "-----------------" | tee $1
# echo "Experiment started: $pca $featureset $dataset $extension" | tee $1
# python -m symbolic_features.effectiveness classification --featureset=$featureset --dataset=$dataset --extension=$extension --keep_first_10_pc=$pca --automl_time=$AUTOML_TIME 2>&1 | tee -a $1
# echo "Experiment ended" | tee $1
# echo "-----------------" | tee $1
# done
# done
# done
# done