-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Bayesian refactor + new model #120
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
Conversation
The original pymc2 implementation was written by Andrew Straw and | ||
can be found here: https://github.com/strawlab/best | ||
|
||
Ported to PyMC3 by Thomas Wiecki (c) 2015. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the same as your function in PyMC3? Either way we should change this line to pyfolio.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, yeah.
Looks good from the parts I understood. What's different about this new one? |
# Run alpha beta model | ||
benchmark_rets = benchmark_rets.loc[df_train.index] | ||
trace_alpha_beta = bayesian.run_model('alpha_beta', df_train, | ||
bmark=benchmark_rets, samples=2000) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we allow other sample sizes to be passed when we create the tear sheet?
OK @gusgordon, addressed the feedback. Merging in. |
No description provided.