/stan-web-demo

Stan, compiled to Webassembly, running in your browser!

Primary LanguageTypeScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Stan Web Demo

This shows how one can use TinyStan to build a WebAssembly version of a Stan model which can be used from the browser.

All computation is done locally using the actual Stan implementations of automatic differentiation and the No-U-Turn Sampler.

This was inspired by George Stagg's demos of Fortran in the browser