lecture-python.myst icon indicating copy to clipboard operation
lecture-python.myst copied to clipboard

speed/accuracy comparisons using glue functionality

Open jstac opened this issue 4 years ago • 3 comments

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).

jstac avatar Apr 05 '20 05:04 jstac

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.

najuzilu avatar Apr 05 '20 08:04 najuzilu

That's really cool!

Harveyt47 avatar Apr 05 '20 23:04 Harveyt47

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

choldgraf avatar Apr 06 '20 00:04 choldgraf