QuantEcon / lecture-python.myst

Quantitative Economics with Python
https://python.quantecon.org
83 stars 44 forks source link

speed/accuracy comparisons using glue functionality #83

Open jstac opened 4 years ago

jstac commented 4 years ago

Once we switch over to myst-nb / jupyter-book, the glue functionality will be idea for cross-lecture numerical comparisons involving solution methods for dynamic programming.

https://myst-nb.readthedocs.io/en/latest/use/glue.html

For example, in our discussion of the optimal growth model and elsewhere, we compare different algorithms in different lectures. To compare execution speed without repeating code, we can glue/paste results from other lectures.

CC @najuzilu @Harveyt47 (and @choldgraf since the application might be interesting).

najuzilu commented 4 years ago

I love this feature! Nicely done to the team for implementing this. I can already think of a few lectures that could use this feature.

Harveyt47 commented 4 years ago

That's really cool!

choldgraf commented 4 years ago

everybody should think about the name of the tool ("glue") and whether it is the right word to use both in the python library, as well as in the markdown...would love to hear your thoughts over in https://github.com/ExecutableBookProject/MyST-NB/issues/110