-
-
Notifications
You must be signed in to change notification settings - Fork 53
[bayes_nonconj] Update lecture #545
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
Thanks @kp992 ! |
@mmcky : one for the warning checker: |
@kp992 Great job, much appreciated. Are you willing to hand over to some junior RAs to finish the PR? Perhaps they can compare the code to the style guide and PEP8, plus add some discussion of the figures at the end. (CC @xuanguang-li @matheusvillasb ) |
I would quickly send a commit to fix doc reference and then we could hand over for adding more notes.
I have ran the pep8 and style fixes. One easy way to fix that I use is https://pypi.org/project/jupyter-black/. import jupyter_black
jupyter_black.load() And |
@kp992 thanks again. @matheusvillasb @xuanguang-li are you willing to take over? Perhaps @mmcky can coordinate merge and opening of a new issue. |
Of course @jstac. I will assign myself to the new issue related to this. |
Thanks @xuanguang-li ! |
- Adopt QuantEcon naming format - Adopt one-line docstring format in accordance with PEP 8 - Change integral notation from $\int dx\, f(x)$ to $\int f(x)\, dx$ - Reorder the illustration of (`param`, `name_dist`) pairs
✅ Deploy Preview for sunny-cactus-210e3e ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Thanks all!
|
Thanks, @jstac, for pointing out these issues.
I think these names follow the convention used in |
I see, thanks Kenko :-) Those are classes, so camel case is appropriate. We are writing functions, so let's swap camel case for lower case with underscores to be consistent with pep8. Please change to |
Thanks, @jstac. I’ve implemented your suggestions. In addition, I renamed other functions to lowercase (e.g., |
Thanks @xuanguang-li ! Nice work. The lecture looks great now. Last request: Can we please use commas to save some lines in
After that I'm happy for this to be merged @mmcky |
Thanks @kp992 and @xuanguang-li for your work on this PR. Thanks @HumphreyYang and @jstac for your reviews and feedback. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
📖 Netlify Preview Ready! Preview URL: https://pr-545--sunny-cactus-210e3e.netlify.app (4521a7f) 📚 Changed Lecture Pages: bayes_nonconj |
The preview mechanism is now showing the latest updates. @jstac I have migrated those imports to the same line as a comma separated list. (will add a note to the style guide as well). LGTM. |
thanks @kp992 and @xuanguang-li we are getting some large improvements in runtime for this lecture |
@HumphreyYang merging this PR. |
Updates the lecture with:
Fixes #524