GithubHelp home page GithubHelp logo

lzhbrian / mcmc Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 4.0 75.45 MB

An introduction of MCMC, implementation of TAP, AIS, RTS algorithm to estimate the partition function of an RBM (Project of Stochastic Process course)

License: Apache License 2.0

R 1.32% Python 0.33% TeX 35.02% MATLAB 8.14% PostScript 55.19%
mcmc rbm ais rts tap matlab

mcmc's Introduction

Markov Chain Monte Carlo

An overview

  • Whole paper in PDF: ./mcmc.pdf
  • Source Codes in the paper can be found in this repository.

Abstract

Markov Chain Monte Carlo (MCMC) is a technique to make an estimation of a statistic by simulation in a complex model. Restricted Bolztmann Machine(RBM) is a crucial model in the field of Machine Learning. However, training a large RBM model will include intractable computation of the partition functions, i.e.Z(θ). This problem has aroused interest in the work of estimation using a MCMC methods. In this paper, we first conduct Metropolis-Hastings Algorithm, one of the most prevalent sampling methods, and analyze its correctness & performance, along with the choice of the accepting rate. We then implement three algorithms: TAP, AIS, RTS, to estimate partition functions of an RBM model. Our work not only give an introduction about the available algorithms, but systematically compare the performance & difference between them. We seek to provide an overall view in the field of MCMC.

Author

Tzu-Heng Lin is currently an undergraduate student in the Dept. of Electronic Engineering, Tsinghua University. His research interests include Big Data Mining, Machine Learning, etc. For more information about him, please see www.linkedin.com/in/lzhbrian . Feel free to contact him at any time via [email protected] or [email protected]

├── LICENSE
├── README.md
├── requirement/
├── src
│   ├── MH
│   │   ├── metropolis_hasting.R
│   └── partition
│       ├── AIS.m
│       ├── RTS.m
│       ├── TAP.m
│       ├── ais_sampling.m
│       ├── calculate_logprob.m
│       ├── draw_ais.m
│       ├── logsum.m
│       ├── main.m
│       └── run.m
├── tex/
├── upload/
└── z.mat

mcmc's People

Contributors

lzhbrian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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