File:Gradient descent Hamiltonian Monte Carlo comparison.gif

From testwiki
Jump to navigation Jump to search
    Original file (548 × 284 pixels, file size: 9.31 MB, MIME type: image/gif, looped, 226 frames, 18 s)
    Note: Due to technical limitations, thumbnails of high resolution GIF images such as this one will not be animated.

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    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

    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.

    Captions

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

    24 March 2024

    9,761,691 byte

    284 pixel

    548 pixel

    image/gif

    27b1960c2041de6a1b9937760e0a2a200afe995f

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current01:01, 25 March 2024Thumbnail for version as of 01:01, 25 March 2024548 × 284 (9.31 MB)wikimediacommons>JustinkunimuneUploaded own work with UploadWizard

    There are no pages that use this file.