A simple application demonstrating some of the capabilities of the Metaprob probabilistic programming language.
- The instructions below assume that you have the Clojure command-line tools installed.
- This application, like Quil, is not compatible with Java 9 or higher.
Launch a Clojure REPL:
make dev
Start the server by evaluating (go)
at the REPL.
Once you have made changes you can reload the visualization with (reset)
.
You can close the visualization with(halt)
.
Once you are running the application you can place points by clicking anywhere in the window. The application will then sample polynomials from the prior and display them, shading each according to how likely it explains the clicked points.
c
will clear the screen.t
will switch "modes" fromprior
toresampling
, and vice versao
will toggle support for outlier detectionp
will cycle through some preconfigured sets of points- Digits followed by
return
will set the maximum number of curves. - Any other key will refresh the curves.