Skip to content

Improve example model set #5

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

Closed
fonnesbeck opened this issue Feb 16, 2011 · 6 comments
Closed

Improve example model set #5

fonnesbeck opened this issue Feb 16, 2011 · 6 comments
Assignees

Comments

@fonnesbeck
Copy link
Member

It would be nice to incorporate some of the better examples posted on the website into the examples in the source tree. There isn't a great deal of variety in the current example set, and several are very similar. I invite proposals for models to remove from and add to the current set.

@apatil
Copy link
Contributor

apatil commented Feb 17, 2011

Very good idea. Also, we should probably re-focus the docs and examples around the one-liner syntax, with the decorators there if you need them.

@jsalvatier
Copy link
Member

I definitely agree with anand. Now that there are a lot of deterministic factory functions, and operators for making deterministics this should be the way to go.

@fonnesbeck
Copy link
Member Author

That's probably a good idea, though the decorator syntax is one of the Great Strengths of PyMC. You can't make arbitrary stochastics in BUGS/JAGS!

@jsalvatier
Copy link
Member

I've found someone interested in contributing to PyMC. Both of us think improving the example set, cleaning them up and making them simpler by using the one-liner syntax, would be a great initial project since it shouldn't be too hard, it's necessary and should provide a good introduction to PyMC. He should be able to start this sometime after April 7.

@apatil
Copy link
Contributor

apatil commented Mar 7, 2011

Sweet! Obviously that's fine by me. I think everyone has write permissions to the wiki.

@ghost ghost assigned fonnesbeck Apr 12, 2011
@fonnesbeck
Copy link
Member Author

I have added a couple of new models, a melanoma survival model and a zero-inflated Poisson model, and removed some old ones. I tried to make the style consistent among the model set. The examples are now a little biostat-heavy, so if others have some good ones (e.g. econometric, astrophysical), please feel free to suggest them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants