-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Use vectorization and numba jitting for optimization #184
Conversation
I see that the build time is too high still. Locally its working fast for me. May be some issues with the ipywidgets? The slider is not working https://python-advanced.quantecon.org/black_litterman.html. See the SS |
The slider is working locally for me but it doesn't on live pages because the html pages are static in nature. |
I think the high timing issue is not consistent in this lecture. I added a debug commit a9c061f#commitcomment-149458134 and it just took 42s (https://674294b5a50f0309d83896e3--wonderful-lalande-528d1c.netlify.app/status). This looks strange to me. |
thanks @kp992. We should remove the sliders as they won't work on the static site representation. Perhaps we can put the slider version in a collapsed code-block (and tag no-execute) and add a note block that says if you are running this lecture locally you can adjust the parameters using the piython slider. Then we can see if the intermittent issue persists? |
@kp992 I have just noticed that matsuyama |
…k with static html
Thanks @mmcky. Yes, I also believe that |
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.
thanks @kp992 this is looking great.
This PR optimizes the runtime of black_litterman lecture by using vectorization and numba jitting.
Fixes #183