-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
540 learning configurations. Need to pull gamma option in
- Loading branch information
1 parent
aab2f8b
commit 62836f9
Showing
8 changed files
with
54 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
for learner in thompson neighbor nearest knearest random MLP linear exp3; do | ||
rm $1/${learner}* | ||
done |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,26 @@ | ||
medley ./$1/ ./$1/thompson.csv -c thompson | ||
medley ./$1/ ./$1/nearest.csv -c neighbor | ||
medley ./$1/ ./$1/knearest.csv -c knearest --k 10 | ||
medley ./$1/ ./$1/random.csv -c random | ||
medley ./$1/ ./$1/MLP.csv -c MLP | ||
medley ./$1/ ./$1/linear.csv -c linear | ||
medley ./$1/ ./$1/exp3.csv -c exp3 | ||
|
||
medley ./$1/ ./$1/thompson_only.csv -c thompson --timeout_manager const --set_const 60 | ||
medley ./$1/ ./$1/nearest_only.csv -c neighbor --timeout_manager const --set_const 60 | ||
medley ./$1/ ./$1/knearest_only.csv -c knearest --k 10 --timeout_manager const --set_const 60 | ||
medley ./$1/ ./$1/random_only.csv -c random --timeout_manager const --set_const 60 | ||
medley ./$1/ ./$1/MLP_only.csv -c MLP --timeout_manager const --set_const 60 | ||
medley ./$1/ ./$1/linear_only.csv -c linear --timeout_manager const --set_const 60 | ||
medley ./$1/ ./$1/exp3_only.csv -c exp3 --timeout_manager const --set_const 60 | ||
|
||
medley ./$1/ ./$1/timenearest.csv -c knearest --k 10 --timeout_manager nearest --time_k 20 | ||
for seed in 0 1; do | ||
for learner in thompson neighbor knearest random MLP linear exp3a exp3b exp3c exp3d; do | ||
if [ $learner == exp3a ] | ||
then | ||
learnconfig="exp3 --gamma 0.07" | ||
elif [ $learner == exp3b ] | ||
then | ||
learnconfig="exp3 --gamma 0.1" | ||
elif [ $learner == exp3c ] | ||
then | ||
learnconfig="exp3 --gamma 0.25" | ||
elif [ $learner == exp3c ] | ||
then | ||
learnconfig="exp3 --gamma 0.5" | ||
else | ||
learnconfig=$learner | ||
fi | ||
for feature in both probes bow; do | ||
for reward in binary bump exp; do | ||
medley ./$1/ ./$1/${learner}_${feature}_${reward}_const_${seed}.csv --classifier $learnconfig --seed $seed --feature_setting $feature --reward $reward --timeout_manager const --set_const 60 | ||
medley ./$1/ ./$1/${learner}_${feature}_${reward}_expo_${seed}.csv --classifier $learnconfig --seed $seed --feature_setting $feature --reward $reward --timeout_manager expo | ||
medley ./$1/ ./$1/${learner}_${feature}_${reward}_nearest_${seed}.csv --classifier $learnconfig --seed $seed --feature_setting $feature --reward $reward --timeout_manager nearest --time_k 20 | ||
done | ||
done | ||
done | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters