I will say that, when I’ve presented code, I’ve usually tried to only show “optimized” versions publicly (vectorized, non-centered parameterization, etc), since my thought has been that some will want the “default” version of a model to “just work,” and as a result, the first thing they should see should be the best (defined however you want). This may be tougher to read initially, but will also work better, which might be helpful. One caveat might be that there are, say, 3 versions of a model: single thread, multithreaded, and GPU, but that’s a clearer decision for the end user.
adlauretig
17
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Any way to make Stan competitive with Tensorflow for maximum likelihood? | 43 | 6914 | July 31, 2019 | |
| Stanli: Stan language interpreter, embedded in Python, or it can run in the browser and is often faster than CmdStan! | 19 | 597 | August 26, 2026 | |
| "Selling" Stan | 14 | 5621 | April 7, 2018 | |
| "Wiki" or "Facebook" for Stan models; building the Stan community | 29 | 2972 | November 19, 2016 | |
| Modularity for making Stan more Pythonic and Rthonic | 54 | 3874 | October 9, 2019 |