File:Gradient descent Hamiltonian Monte Carlo comparison.gif

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Gradient_descent_Hamiltonian_Monte_Carlo_comparison.gif(548 × 284 pixels, file size: 9.31 MB, MIME type: image/gif, looped, 226 frames, 18 s)

Captions

Captions

An animation comparing maximum likelihood estimation with Hamiltonian Monte Carlo in two dimensions

Summary[edit]

Description
English: In Bayesian statistics, two classes of technique are commonly used to reconstruct unobserved parameters based on observed data. This plot shows the application of each to a two-dimensional toy problem.

The blue triangle shows maximum a posteriori estimation, in which an optimization algorithm such as gradient descent is used to find the set of parameters that maximizes the posterior probability density. Starting from an arbitrary guess, the triangle eventually arrives at the optimal point through gradient descent, and this set of parameters is accepted as the best answer.

The red circles show Hamiltonian Monte Carlo, in which a physics simulation is used to sample the posterior probability distribution. Starting from an arbitrary guess, the simulation stochastically travels to a variety of likely points, which are all accepted as plausible answers.

The two axes of the plot represent two coupled parameters. The shading and contours represent the posterior probability distribution, where white is lower and green is higher.
Date
Source Own work using: github.com/jkunimune/hamiltonian-mc
Author Justinkunimune
Other versions

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following license:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current00:01, 25 March 2024Thumbnail for version as of 00:01, 25 March 2024548 × 284 (9.31 MB)Justinkunimune (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.