Git Product home page Git Product logo

drbayes's Introduction

Dr. Bayes

This is a probabilistic programming language meant for Bayesian modeling, which carries out inference on any program with any positive-probability condition. It does not matter whether the output distribution can be defined by a density (e.g. discontinuities and variable dimension are fine), nor whether the condition meets the preconditions for using Bayes' law (e.g. is axis-aligned). Examples of atypical Bayesian inference that Dr. Bayes is capable of are stochastic ray tracing and probabilistic program verification.

This is of course possible using rejection sampling for exponential cost, but Dr. Bayes is usually much more efficient. In particular, the positive-probability conditions may have arbitrarily small probability without affecting running time. For more information, see

Neil Toronto. Trustworthy, Useful Languages for Probabilistic Modeling and Inference. Doctoral Dissertation, Brigham Young University, 2014 (to appear).

Dr. Bayes is currently just a core calculus. In the next few months, I intend to put a pretty face on it, make it faster, and turn this repository into an installable Racket package.

Directories:

  • direct: Direct implementations of the exact and approximating semantics from Chapter 8 (one of them is in Haskell)

  • private: Dr. Bayes implementation

  • tests: Various deterministic and randomized tests

drbayes's People

Contributors

bennn avatar ntoronto avatar samth avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.