Skip to content

wongbenshing/MCMC-Example---MH-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MCMC-Example

MCMC python example for An Introduction to MCMC for Machine Learning

Example of Metropolis-Hastings Algorithm

  • Target distribution p(x) = 0.3exp(-0.2x^2) + 0.7exp(-0.2(x-10)^2)

  • Iteration Times = 5000

  • Proposal Distribution: q(x`|x(i)) = N(x(i), sigma=100)

@Bincheng Huang

04/25/2019

About

MCMC python example for An Introduction to MCMC for Machine Learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages