-
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.
First notebook for comparing sampling methods
- Loading branch information
Showing
5 changed files
with
692 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
#! /bin/bash | ||
|
||
xyz=../data/exact/caffeine_pm7_None.xyz | ||
for step_size in 0.02 0.01 0.005; do | ||
for step_size in 0.04 0.02 0.01 0.005; do | ||
# Do the randomized methods | ||
for method in 0_random-directions-same-distance.ipynb 1_random-directions-variable-distance.ipynb; do | ||
papermill -p starting_geometry $xyz -p step_size $s $method - > /dev/null | ||
papermill -p starting_geometry $xyz -p step_size $step_size $method last.ipynb | ||
done | ||
|
||
# Test with different reductions for "along axes" | ||
notebook=2_displace-along-axes.ipynb | ||
for n in 1 2 4; do | ||
papermill -p starting_geometry $xyz -p perturbs_per_evaluation $n $notebook - > /dev/null | ||
papermill -p starting_geometry $xyz -p perturbs_per_evaluation $n -p step_size $step_size $notebook last.ipynb | ||
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
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,8 +1,8 @@ | ||
#! /bin/bash | ||
|
||
notebook=$1 | ||
dbs=$(find ../1_explore-sampling-methods/data/ -name "caffine_pm7_None*.db") | ||
dbs=$(find ../1_explore-sampling-methods/data/ -name "caffeine_pm7_None*.db") | ||
for db in $dbs; do | ||
echo $db | ||
papermill -p db_path $db $notebook - | ||
papermill -p db_path "$db" -p max_size 5000 $notebook last.html | ||
done |
Oops, something went wrong.