Repository navigation
Organize by ensemble strategy #320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jhprinz
merged 60 commits into
openpathsampling:master
from
dwhswenson:organize_by_ensemble_strategy
Oct 14, 2015
Merged
Changes from 1 commit
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
b8dd8db
Make OrgByEnsStrat subclass of DefaultStrat
dwhswenson b1af386
Merge branch 'balance_and_choice_prob' into organize_by_ensemble_stra…
dwhswenson 97abb06
Draft of OrgBeEns.make_chooser
dwhswenson 3e4dba9
Tests for OrgByEns.make_chooser
dwhswenson 52ef7e3
Merge remote-tracking branch 'upstream/master' into organize_by_ensem…
dwhswenson 6517311
Starting skeleton of OrgByEns.make_movers
dwhswenson d07dba4
Merge branch 'move_scheme_cleanup' into organize_by_ensemble_strategy
dwhswenson 29003eb
Fix for tests
dwhswenson fd8bda1
Early draft of EnsembleDictionaryMover
dwhswenson 72e72b2
EnsDict runs, though tests don't check correctness
dwhswenson 2821064
Working test for EnsDict with single replica
dwhswenson 3db71f6
Tests for EnsDict with multiple replicas
dwhswenson 77a6b87
Skeletons of OrgByEns and tests. Needs some redo.
dwhswenson 0c47813
Cleaned up Default.make_chooser (now reusable?)
dwhswenson 13a7849
Generalized choice_probability
dwhswenson 57a3719
Reorg most of get_weights subsys to be general
dwhswenson 122a9d4
I think that fully generalizes get_weight subsys
dwhswenson 3eda6f0
Generalized mover keys. Ready to build new strat
dwhswenson 960deb3
Draft of OrgByEns.make_movers
dwhswenson 12cc5d2
first test of OrgByEns looks decent
dwhswenson 5f20b9e
Upgraded EnsDictMover to support ensemble prob
dwhswenson 6ab53ae
Test for weights in EnsDict
dwhswenson 1eeca62
Test when we change the ensemble weight
dwhswenson 8612f7e
Serious clean-up of mover weights normalization
dwhswenson 77056fe
Added test for changing mover_weights in OrgByEns
dwhswenson 2c81ab1
Various test fixes
dwhswenson fd58ca3
Committing screwy version before rewrite
dwhswenson 604c8de
New version passes the first test....
dwhswenson 34d4980
New version of choice_probability w/ tests
dwhswenson 76a1a99
New make_movers in DefaultStrategy
dwhswenson 6178d72
DefaultStrategy.weights_from_choice_prob & tests
dwhswenson 2fb17b6
Fixed setting group weights when no shooting group
dwhswenson 8e0bd42
Down to one test for DefaultStrategy
dwhswenson 6a9d671
All tests for DefaultStrategy pass
dwhswenson 2414a98
Looks like OrgByEns.choice_probability works
dwhswenson e55c7bf
More untested bits of code for OrgByEns
dwhswenson 0d7c775
Fix for ensemble sig problems in test_choice_prob
dwhswenson 0eca9cc
Test for OrgByEns.default_weights
dwhswenson cab0b2d
Test for chooser_movers
dwhswenson 43302c4
Most of the OrgByEns.weights_from_choice_prob
dwhswenson 67e861d
Separate out most_common calcs for renorming
dwhswenson 4d97b55
OrgByEns.weights_from_choice_prob passes test
dwhswenson d9db71e
OrgByEns.make_movers (and test)
dwhswenson adc3e20
Fix bug in EnsDictMover test
dwhswenson 180ba9c
Removed worthless old crap.
dwhswenson afa494c
DefaultStrategy => OrganizeByMoveGroupStrategy
dwhswenson daedfc0
Merge remote-tracking branch 'upstream/master' into organize_by_ensem…
dwhswenson c403c17
Partial fixes for unique ensemble stuff
dwhswenson a51df68
Fix the rest of stuff unique ensemble messed up
dwhswenson 3f4676f
Removed EnsembleDictionaryMover
dwhswenson e75f393
testEnsDictMover => testRandomAllowedChoiceMover
dwhswenson ec36501
Outline of test for switching org strategies
dwhswenson 75388d8
Can switch between global org strategies
dwhswenson e497fa9
Docstrings for MoveStrategies (part 1)
dwhswenson e12c0b9
No wonder it was failing. Too many RETIS steps!
dwhswenson 2409601
Enough docstrings for now
dwhswenson ea1221d
Docstrings & some PEP8
dwhswenson d27ab0f
Merge remote-tracking branch 'upstream/master' into organize_by_ensem…
dwhswenson 0cb98d9
Removed unused mover_key
dwhswenson 5948097
First switch to using dict.get(key, default)
dwhswenson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
New version passes the first test....
- Loading branch information
commit 604c8de8f9a57457e5004cb4be528409659075af
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found a nice trick to write this in one line.
use the
.get(key, default)method. I think effectively it does a try and uses the default otherwise.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wish I'd known about that sooner! I use that idiom all the time. Added a commit here to switch this one; over time we can replace the many other times I've used that.