-
Notifications
You must be signed in to change notification settings - Fork 23
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
fixed bug in runCrossValidate for merging of MCMC configurations #1068
Conversation
@paciorek I suspect this will initially fail testing, due to the travis bug. But once that's fixed, this PR should pass (as it works for the cross-validation tests), and I'm hoping you can merge it into the upcoming release. |
@paciorek Does this test failure look like just the travis issue we've been seeing? |
Yeah, that is it. It didn't finish the other tests after numericTypes, but presumably those won't be an issue. I should be fixing the precision error this morning. |
@danielturek I'm trying to look into an issue raised on the users list about |
@paciorek It appears this bug (embarrassing mistake) is mixing the changes made to I'll open a PR fixing this as I believe it should be, but will wait for confirmation. |
Yes, that's what I see. |
This is being addressed in PR #1298. Pending testing results. |
Fixes a bug in
runCrossValidate
, to correctly merge the sampler configuration lists from two different MCMC configurations.Used
conf$addSampler
as was proposed by @perrydv, to do this in a robust manner.Also added a test (using the dyes example), where cross validation now gives results that seem reasonable. The test checks for the exact numerical cross validation results.