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

Pathfinder model specification fix #674

Merged
merged 21 commits into from
Jul 18, 2024
Merged

Conversation

fonnesbeck
Copy link
Member

@fonnesbeck fonnesbeck commented Jul 18, 2024

Deals with the easy problem in #572, the mis-specification of the model. Also added an example num_samples argument that may be useful for new users.


📚 Documentation preview 📚: https://pymc-examples--674.org.readthedocs.build/en/674/

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@fonnesbeck fonnesbeck requested a review from ricardoV94 July 18, 2024 01:33
@fonnesbeck
Copy link
Member Author

Sorry for the merge mess. Squash-merge should fix, yes?

theta = pm.Normal("theta", mu=0, sigma=1, shape=J)
theta_1 = mu + tau * theta
z = pm.Normal("z", mu=0, sigma=1, shape=J)
theta = mu + tau * z
Copy link
Member

Choose a reason for hiding this comment

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

Ugh 🤦

Copy link
Member

Choose a reason for hiding this comment

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

ChatGPT?

@twiecki twiecki merged commit 783e21b into pymc-devs:main Jul 18, 2024
2 checks passed
@fonnesbeck
Copy link
Member Author

The model still does a terrible job of fitting a very simple model. Hopefully the GSoC project will bear some fruit.

@ricardoV94
Copy link
Member

The model still does a terrible job of fitting a very simple model. Hopefully the GSoC project will bear some fruit.

Yup that was why I didn't bother to push the fix. It seem to be pretty terrible, but maybe it's just a hard model still.

@fonnesbeck
Copy link
Member Author

fonnesbeck commented Jul 18, 2024 via email

@ricardoV94
Copy link
Member

Re-mentioning the problem to @junpenglao @zaxtax ^

We should at least open an issue in blackjax? Pretty lame to not have it working :(

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.

3 participants