Coder Social home page Coder Social logo

compops / pmh-stco2015 Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 41 KB

Particle Metropolis-Hastings using gradient and Hessian information

Home Page: http://www.johandahlin.com/research/

License: GNU General Public License v3.0

Python 100.00%
particle-metropolis-hastings particle-filter particle-smoother gradient hessian

pmh-stco2015's Introduction

pmh-stco2015

Particle Metropolis-Hastings using gradient and Hessian information

This code was downloaded from < https://github.com/compops/pmh-stco2015 > and contains the code used to produce the results in the papers

  • J. Dahlin, F. Lindsten and T. B. Schön, Particle Metropolis-Hastings using gradient and Hessian information*. Statistics and Computing, Volume 25, Issue 1, pp 81-92, Springer, 2015.

  • J. Dahlin, F. Lindsten and T. B. Schön, Second-order particle MCMC for Bayesian parameter inference. Proceedings of the 18th World Congress of the International Federation of Automatic Control (IFAC), Cape Town, South Africa, August 2014. (accepted for publication)

  • J. Dahlin, F. Lindsten and T. B. Schön, Particle Metropolis Hastings using Langevin Dynamics. Proceedings of the 38th International Conference on Acoustics, Speech, and Signal Processing (ICASSP), Vancouver, Canada, May 2013.

The papers are available as a preprint from < http://arxiv.org/abs/1311.0686 >.

Requirements

The program is written in Python 2.7 and makes use of NumPy 1.7.1, SciPy 0.12.0, Matplotlib 1.2.1, Pandas. Please have these packages installed, on Ubuntu they can be installed using

sudo pip install --upgrade *package-name*

Included files

runmeLGSSfapf.py Generates a plot similar to Figure 3 in Particle Metropolis-Hastings using gradient and Hessian information using the fully-adapted particle filter and the fixed-lag smoother for estimating the negative Hessian.

runmeLGSSbpf.py Generates a plot similar to Figure 1 in Second-order particle MCMC for Bayesian parameter inference using the bootstrap particle filter and the filter smoother for estimating the negative Hessian.

runmeHWSVbpf.py Generates a plot similiar to Figure 2 in Second-order particle MCMC for Bayesian parameter inference using the filter smoother for estimating the negative Hessian and the bootstrap particle filter.

Supporting files

pmh.py Defines the general class for the particle MH algorithm and helper functions for this.

smc.py Defines the general class for sequential Monte Carlo algorithm.

classes.py Defines the different system models and generates the data.

helpers.py Defines different helpers for the other functions.

pmh-stco2015's People

Contributors

compops avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

shubhg1996

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.