Skip to content

Commit

Permalink
Fix image link (not showing up on the web) (#3454)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart authored and twiecki committed Apr 23, 2019
1 parent 6148d1b commit 35813f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/notebooks/SMC2_gaussians.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"\n",
"The previous paragraph is summarized in the next figure, the first subplot show 5 samples (orange dots) at some particular stage. The second subplots show how this samples are reweighted according to the their posterior density (blue Gaussian curve). The third subplot shows the result of running a certain number of Metropolis steps, starting from the _selected/reweighting_ samples in the second subplots, notice how the two samples with the lower posterior density (smaller circles) are discarded and not used to seed Markov chains.\n",
"\n",
"<img src=\"smc.png\" alt=\"SMC stages\"> \n",
"<img src=\"https://github.com/pymc-devs/pymc3/raw/master/docs/source/notebooks/smc.png\" alt=\"SMC stages\"> \n",
"\n",
"So far we have that the SMC sampler is just a bunch of parallel Markov chains, not very impressive, right? Well not that fast. SMC proceed by moving _sequentially_ trough a series of stages, starting from a simple to sample distribution until it get to the posterior distribution. All this intermediate distribution (or _tempered posterior distributions_) are controlled by _tempering_ parameter called $\\beta$. SMC takes this idea from other _tempering_ methods originated from a branch of physics known as _statistical mechanics_. The idea is as follow the number of accessible states a _real physical_ system can reach is controlled by the temperature, if the temperature is the lowest possible ($0$ Kelvin) the system is trapped in a single state, on the contrary if the temperature is $\\infty$ all states are equally accessible! In the _statistical mechanics_ literature $\\beta$ is know as the inverse temperature, the higher the more constrained the system is. Going back to the Bayesian statistics context a _natural_ analogy to these physical systems is given by the following formula:\n",
"\n",
Expand Down

0 comments on commit 35813f7

Please sign in to comment.