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

Fix for issue #1352 #1357

Merged
merged 4 commits into from
Jul 30, 2020
Merged

Fix for issue #1352 #1357

merged 4 commits into from
Jul 30, 2020

Conversation

torfjelde
Copy link
Member

@torfjelde torfjelde commented Jul 17, 2020

Fixes #1352, i.e. makes transitions_from_chain and thus predict compatible with MCMCChains@0.4 and higher.

@cpfiffer
Copy link
Member

Does the test here cover the issue in #1352? Do we need to expand the tests with their specific problem?

@torfjelde
Copy link
Member Author

Good point! Nah, that doesn't catch it because it only deals with univariate variables. I'll make it so that it also includes multivariate and matrixvariates 👍

@torfjelde
Copy link
Member Author

Done 👍

Copy link
Member

@cpfiffer cpfiffer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, I'm happy when tests pass.

@torfjelde
Copy link
Member Author

Classic. We got AD-issues completely unrelated to the changes introduced in this PR again!

Bleh. Do we just merge and open an issue related to the AD-stuff?

@torfjelde
Copy link
Member Author

torfjelde commented Jul 17, 2020

Seems to be an issue with the interaction between Tracker.jl and PDMats.jl, and unrelated to Turing.

EDIT: Made an issue for now: #1358.

@yebai
Copy link
Member

yebai commented Jul 30, 2020

I am merging now; let's fix the AD issue in a separate PR.

@yebai yebai merged commit 1999645 into master Jul 30, 2020
@delete-merged-branch delete-merged-branch bot deleted the tor/issue-1352 branch July 30, 2020 15:08
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.

Wrong prediction results on multivariate params
3 participants