Skip to content

SMC: work with transformed variables #2749

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
merged 4 commits into from
Dec 12, 2017

Conversation

aloctavodia
Copy link
Member

This resolves #2742. Now SMC works with transformed, as well as not transformed variables.
I also made some PEP8-related changes.

@ColCarroll
Copy link
Member

Looks good to merge once tests pass! One question, one comment:

Question: Would it be easy to add a test (or update the test to use a transformed variable?)

Comment: We allow 100 characters per line elsewhere in the project -- it looks like you were shooting for 80. Eighty is fine with me, but feel free to let the code breathe a little more if you want!

@aloctavodia
Copy link
Member Author

aloctavodia commented Dec 8, 2017

Hi @ColCarroll !

I am seeing many errors that I did not see locally :-( I will have to check that.
I did not know about the 100 limit, I will use it!
I will update the test to use transformed variables.

@aloctavodia
Copy link
Member Author

I think this is ready to merge, @ColCarroll?

@junpenglao junpenglao merged commit 7cd66b7 into pymc-devs:master Dec 12, 2017
@junpenglao
Copy link
Member

Nice work, thanks!

@aloctavodia aloctavodia deleted the smc_transform branch December 12, 2017 13:49
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.

sample_smc fails for models with transformed variables
3 participants