The aim of this issue is to migrate the amss lecture to use JAX.
Specifically:
- Follow the guidelines listed at https://manual.quantecon.org/styleguide/jax-conversion.html.
- Break up large classes and use autodifferentiation for marginal utility calculations. Some of the classes are not currently included in the lecture (e.g., AMSS classes and utility classes). These can be found in
lectures/_static/lecture_specific/amss. Please add them to the lecture using a proper NamedTuple structure, following the guidelines.
- Avoid using methods within classes. Move them out as pure functions that take parameter classes as arguments.
- Correct any typos and mathematical errors in the lecture.
- Follow the existing lecture setup, keep the implementation concise, and ensure the code closely matches the mathematical notation. Optimize the code using vectorization and JIT whenever possible.
The aim of this issue is to migrate the
amsslecture to use JAX.Specifically:
lectures/_static/lecture_specific/amss. Please add them to the lecture using a properNamedTuplestructure, following the guidelines.