Using the Random Walk Metropolis algorithm to sample from a cow surface distribution

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 13

  • @will_1536
    @will_1536 5 років тому +4

    Thanks, this video showed me how cool and useful Metropolis is, on paper without examples it didn't mean a lot to me!

  • @AnnManMS
    @AnnManMS 3 роки тому +2

    Phenomenal example!

  • @SolomonVimal1991
    @SolomonVimal1991 4 роки тому +5

    An itch to point out a typo: the symbol ⊥ is used for perpendicular? At 0:23 you say perpendicular, but used the notation for parallel: ||. But your illustration is clear enough to understand what you meant. Thanks so much!

  • @liufengyuan1232
    @liufengyuan1232 3 роки тому

    Hi Ben, Thanks for your illustrative explanation! Just a quick question: from my point of view, anyway, you need to numerically calculate the distance to the "cow" and then its probability, what is the point of using such a sampling strategy? With such calculations, you can always do a sampling of the entire x-y-z space and calculating the probability, then get the same result. Is it because the Metropolis algorithm needs far fewer sampling points?

  • @RaviShankar-de5kb
    @RaviShankar-de5kb 2 роки тому +9

    And they said pure mathematics has no real world applications

  • @kdkittehmama9490
    @kdkittehmama9490 2 місяці тому

    That stained-glass cow is very pretty.

  • @LCRedemption
    @LCRedemption 6 років тому +2

    Hi Ben, this might be a silly question. At 1:27, you said you don't know the function f, but then you said you can still calculate d with given x, y, z. Are those contradictory? And what do you mean by you can calculate it numerically?

    • @SpartacanUsuals
      @SpartacanUsuals  6 років тому +7

      Hi, thanks for your message and apologies for any confusion. I mean that the function f - that denotes the perpendicular distance from a point to the cow's surface - is not a function I can write down since the cow's surface is complicated to represent mathematically. I can, however, numerically (guided by theory of ray tracing and Mathematica's inbuilt functions) calculate the distance of a point from the computational cow's boundaries. Hope that makes sense? Best, Ben

    • @LCRedemption
      @LCRedemption 6 років тому

      @@SpartacanUsuals Thanks for your prompt response! Yes, that makes sense now. Thanks!

    • @RaviShankar-de5kb
      @RaviShankar-de5kb 2 роки тому +2

      @@SpartacanUsuals So would it be safe to say that that the cow-function is known, but not analytically tractable, and that is the motivation behind using the random walk metropolis algorithm to sample from it?

    • @stati5tik
      @stati5tik 4 місяці тому +1

      @@RaviShankar-de5kb not only that but in order to normalize the distribution you would have to integrate it which is basically impossible. with that method however the normalization step is not necessary (as far as i understood).
      And God alone knows best.

  • @oceannuclear
    @oceannuclear Рік тому

    @3:30 You can not only rotate a cow in your mind, but now youc an also do it in Mathematica!

  • @ccuuttww
    @ccuuttww 4 роки тому +2

    cow distribution lol can u give us the data and codes?
    this one is really cool