-
-
Notifications
You must be signed in to change notification settings - Fork 54
[kalman_2] Update to JAX #644
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
base: main
Are you sure you want to change the base?
Conversation
|
📖 Netlify Preview Ready! Preview URL: https://pr-644--sunny-cactus-210e3e.netlify.app (d3912a0) 📚 Changed Lecture Pages: aiyagari, ak2, ar1_turningpts, exchangeable, kalman_2, lake_model, likelihood_ratio_process, likelihood_ratio_process_2, samuelson |
|
📖 Netlify Preview Ready! Preview URL: https://pr-644--sunny-cactus-210e3e.netlify.app (3264d73) 📚 Changed Lecture Pages: aiyagari, ak2, ar1_turningpts, exchangeable, kalman_2, lake_model, likelihood_ratio_process, likelihood_ratio_process_2, samuelson |
|
📖 Netlify Preview Ready! Preview URL: https://pr-644--sunny-cactus-210e3e.netlify.app (76c649f) 📚 Changed Lecture Pages: aiyagari, ak2, ar1_turningpts, exchangeable, kalman_2, lake_model, likelihood_ratio_process, likelihood_ratio_process_2, samuelson |
|
📖 Netlify Preview Ready! Preview URL: https://pr-644--sunny-cactus-210e3e.netlify.app (70e74df) 📚 Changed Lecture Pages: aiyagari, ak2, ar1_turningpts, exchangeable, kalman_2, lake_model, likelihood_ratio_process, likelihood_ratio_process_2, samuelson |
|
📖 Netlify Preview Ready! Preview URL: https://pr-644--sunny-cactus-210e3e.netlify.app (2119e95) 📚 Changed Lecture Pages: kalman_2 |
|
thanks @xuanguang-li. I have just merged in the latest |
|
Thanks @mmcky. I noticed a warning right below the import cell, saying.
Should we hide this output or leave it there? |
This pull request improves the
lectures/kalman_2.mdfile, focusing on code modernization, clarity, and consistency.The main updates include:
jaxfor array creation, mathematical operations, and simulation functions. Somenumpycode remains to avoid data type–related warnings.x_hatand handling the initial states more carefully.hhat_0anduhat_0withμ_handμ_u, and defininghhat_0anduhat_0as the priors.seedparameter to all simulation calls.