Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ssoudan/web-nuts-rs
run a NUTS sampler in your browser
https://github.com/ssoudan/web-nuts-rs
nuts rust wasm
Last synced: 6 days ago
JSON representation
run a NUTS sampler in your browser
- Host: GitHub
- URL: https://github.com/ssoudan/web-nuts-rs
- Owner: ssoudan
- License: apache-2.0
- Created: 2023-11-06T22:28:26.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-24T16:15:08.000Z (10 months ago)
- Last Synced: 2024-03-24T17:28:11.017Z (10 months ago)
- Topics: nuts, rust, wasm
- Language: Rust
- Homepage: https://ssoudan.github.io/web-nuts-rs/
- Size: 326 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE_APACHE
Awesome Lists containing this project
README
# Going NUTS with WebAssembly
What about running a NUTS sampler like [pymc-devs/nuts-rs](https://github.com/pymc-devs/nuts-rs) in the browser?
See https://ssoudan.github.io/web-nuts-rs/ for a live demo of a Bayesian regression of daily maximum temperature from NOAA Global Historical Climatology Network - Daily (GHCN-D) data all in the browser.
# Development
Use the devcontainer to get a ready to use environment.
To run the app in development mode, run:
```bash
npm i && npm run serve
```To build the app for production, run:
```bash
npm i && npm run serve:prod
```Either way, you can now navigate to `http://localhost:8080` to view the app.