Giter VIP home page Giter VIP logo

autobdmc's Introduction

AutoBDMC

AutoBDMC is a tool based on bidirectional Monte Carlo to accurately evaluate and bound log likelihoods of synthetic data via annealed importance sampling in an automated fashion by integrating it with probabilisitic programming languages, such as Stan and WebPPL.

This repository contains an implementation of this tool in Stan (and WebPPL), as well as experiments that validate the use of this tool and demonstrate scientific findings produced by it.

Instructions

Installation

Run: make install

This installs WebPPL. Stan need not be installed as it compiles on the go.

Experiments

Each experiment is represented by a subfolder in the "experiments" folder. To run an experiment from scratch, run

bash experiments/<EXP_NAME>/scripts/main.sh [--run] [--parallel] [--clean]
  1. --run
    To actually run the experiment.
  2. --parallel
    An experiment consists of a set of independent jobs, which are run serially by default. If you have access to a CPU cluster with GNU parallel installed, you can use this flag to parallelize the jobs.
  3. --clean
    The script generates data files, exact-sample files, job lists, results and plots. Use this flag to delete all generated files and clean the directory, in order to re-run the experiment. Caution: all unsaved work will be lost.

Example: bash experiments/mf/scripts/main.sh --run --parallel

After the script finishes execution, generated plots will be available in experiments/EXP_NAME/plots.

autobdmc's People

Contributors

rgrosse avatar siddancha 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.