Giter Club home page Giter Club logo

kernel_hmc's Introduction

Kernel Hamiltonian Monte Carlo

Build Status Coverage Status

Code for NIPS 2015 Gradient-free Hamiltonain Monte Carlo with Efficient Kernel Exponential Families.

This package implements the kernel HMC part of the paper. It heavily depends on the kernel exponential family package, where all gradient estimation code is located.

My blog post about KMC.

An IPython notebook featuring KMC lite's ability to move in previously unexplored regions.

Install dependencies:

pip install -r https://raw.githubusercontent.com/karlnapf/kernel_hmc/master/requirements.txt

Optional dependencies are:

  • cholupdate for effecient low-rank updates of Cholesky factors of covariances. Speeds up Adaptive-Metropolis and KMC Finite from cubic to quadratic costs, see paper.
  • Shogun-toolbox for the Gaussian Process marginal posterior over hyper-parameters example. To compute unbiased estimates of the marginal likelihood via approximate inference and importance sampling.
  • theano for the Banana example, to compute gradients via auto-grad.

Install kernel_hmc:

pip install git+https://github.com/karlnapf/kernel_hmc.git

A list of examples can be found here. For example, run

python -m kernel_hmc.examples.demo_trajectories.py
python -m kernel_hmc.examples.demo_mcmc_kmc_static.py

kernel_hmc's People

Contributors

karlnapf avatar

Watchers

James Cloos 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.