Skip to content
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

Sampler implementation in process #92

Merged
merged 18 commits into from
Feb 11, 2016
Merged

Sampler implementation in process #92

merged 18 commits into from
Feb 11, 2016

Conversation

jchodera
Copy link
Member

@jchodera jchodera commented Feb 8, 2016

Starting basic samplers implementation.

Very much in progress and untested. Just figuring out APIs right now.

@jchodera
Copy link
Member Author

jchodera commented Feb 8, 2016

I've temporarily ingested ThermodynamicState and SamplerState and written a minimal functioning placeholder for MCMCSampler until we can switch over to the openmmmcmc package.

@jchodera
Copy link
Member Author

jchodera commented Feb 8, 2016

Some decisions on issues #90 and #89 are needed before I can go further.

@jchodera
Copy link
Member Author

This is mostly done. Once some of the other issues I raised are cleaned up, I can finish the testing and we're off to the races with a very basic functional implementation.

This currently only replicates the NCMC-geometry-NCMC scheme we have in test_sampler.py, but we can add more schemes (geometry-ncmc-geometry and geometry-ncmc) later.

@jchodera
Copy link
Member Author

Added tests for the whole sampler stack. Hopefully this will work once #103 is resolved!

@jchodera jchodera changed the title [WIP] Sampler implementation in process Sampler implementation in process Feb 10, 2016
@jchodera jchodera changed the title Sampler implementation in process [WIP] Sampler implementation in process Feb 10, 2016
@jchodera
Copy link
Member Author

Did a bit more cleanup and documentation. Just waiting on @juliebehr's changes to finish.

@jchodera
Copy link
Member Author

Also, the API for this shouldn't be considered final. I'm more than happy to change this however we want to make things easier. This is just a first stab at the whole stack.

@pgrinaway
Copy link
Member

This is just a first stab at the whole stack.

That's fine. I think the first stab is important because we want to get the paper out as well as get things started for collaborators. Taking a look now while the debugger takes its time...

@jchodera
Copy link
Member Author

Probably easier to link to the whole new files:

@jchodera
Copy link
Member Author

OK, I'm now stuck waiting on #93 too.

@pgrinaway
Copy link
Member

What do you need from #93? I can just do that now and merge. Is there any reason we can't merge this first?

@jchodera
Copy link
Member Author

See test failures for master. There were some thing being cleaned up in
geometry or TopologyProposal, or so I thought?
On Feb 11, 2016 9:46 AM, "Patrick Grinaway" notifications@github.com
wrote:

What do you need from #93 #93?
I can just do that now and merge. Is there any reason we can't merge this
first?


Reply to this email directly or view it on GitHub
#92 (comment).

@jchodera
Copy link
Member Author

jchodera commented Feb 11, 2016 via email

@pgrinaway
Copy link
Member

Looks like there are 3 failures in master:

  1. GeometryEngine failure because of a change in the TopologyProposal API. This is fixed in my PR and shouldn't really affect this PR.

  2. test_run_example fails but this is basically deprecated by this PR. (also, the failure is the same change as in 1)...perhaps the changes weren't pulled in?

  3. The last one looks like an oversight on my part. I need to change the test for the SmallMoleculeSetProposalEngine, but again I don't think it should affect this PR.

@jchodera
Copy link
Member Author

jchodera commented Feb 11, 2016 via email

@pgrinaway
Copy link
Member

I think that would be best.

@jchodera
Copy link
Member Author

jchodera commented Feb 11, 2016 via email

@pgrinaway
Copy link
Member

Ok, I'll do that now. Hopefully I can finish up #93 tonight as well (if there is an API change I can fix that in #93)

@pgrinaway pgrinaway changed the title [WIP] Sampler implementation in process Sampler implementation in process Feb 11, 2016
pgrinaway added a commit that referenced this pull request Feb 11, 2016
Sampler implementation in process
@pgrinaway pgrinaway merged commit 88cf07b into master Feb 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants