Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
/ curve-fitting Public archive

A simple application demonstrating some of the capabilities of the Metaprob probabilistic programming language

Notifications You must be signed in to change notification settings

probcomp/curve-fitting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Curve fitting

A simple application demonstrating some of the capabilities of the Metaprob probabilistic programming language.

Prerequisites

Running

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

Usage

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.

Keyboard shortcuts

  • c will clear the screen.
  • t will switch "modes" from prior to resampling, and vice versa
  • o will toggle support for outlier detection
  • p 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.

About

A simple application demonstrating some of the capabilities of the Metaprob probabilistic programming language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published