Monte Carlo Simulation with Card Games

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024

Комментарии • 84

  • @NormalizedNerd
    @NormalizedNerd  3 года назад +5

    Since many of you were interested in the code, here it is...
    github.com/Suji04/NormalizedNerd/blob/master/Miscellaneous/monte_carlo.py

  • @affbee
    @affbee Год назад +5

    Thanks a lot. Your way of explaining was amazing 👍

  • @atreyamajumdar9836
    @atreyamajumdar9836 4 года назад +10

    Nice one! Also, a trivia: the Monte Carlo method was invented in the context of simulating card games (solitaire) in the computer. It's cool to see the method being used for playing cards!

    • @NormalizedNerd
      @NormalizedNerd  4 года назад +4

      Yeah...From casino to nuclear weapons, the story of Monte Carlo is amazing!

  • @ephi124
    @ephi124 3 года назад +5

    "True random can only be found in nature": I'm thinking to the Creator that randomness is pseudo-random.

    • @nonamenoname1942
      @nonamenoname1942 5 месяцев назад +1

      i call pseudo-random algorithms - pseudo-pseudo-random.

  • @AASHHASHASHASHASHHA
    @AASHHASHASHASHASHHA 3 года назад +6

    5:50 "It doesnt matter who comes first, the King or the Queen" 😂

  • @Drone256
    @Drone256 9 месяцев назад

    Monte Carlo simulations are such a natural way to solve hard problems. It requires many fewer brain cells. And with the insane speed of CPUs (cheap computations) available today why would I pull out my old textbook on probability theory?

  • @anudhyanboral7557
    @anudhyanboral7557 4 года назад +3

    Great video! Can you cover Markov Chain Monte Carlo as well in a future video?

    • @NormalizedNerd
      @NormalizedNerd  4 года назад +1

      Great suggestion! I'll definitely give this a try

  • @manibharathy1994
    @manibharathy1994 3 года назад +4

    2:15 that mad me laugh. "subtracting this bad boy"

    • @NormalizedNerd
      @NormalizedNerd  3 года назад

      Haha XD

    • @terrymiller111
      @terrymiller111 3 года назад

      Nothing tops what he said later, no double entendre intended: "It doesn't matter who comes first--the king or the queen."

  • @Universmps
    @Universmps 4 года назад +2

    This is awfully similar to 3Blue1Brown videos, the animations and the colors used...

    • @NormalizedNerd
      @NormalizedNerd  4 года назад +7

      Because I'm using manim, an open source Python library created by Grant himself

    • @Universmps
      @Universmps 4 года назад +1

      @@NormalizedNerd Awesome !

  • @Arjunsiva
    @Arjunsiva 3 года назад +1

    0:20 fart noises

  • @oneJL
    @oneJL 3 года назад +2

    May I ask which tool do you use to make this moving x,y space/graph? Thanks in advance.

    • @NormalizedNerd
      @NormalizedNerd  3 года назад +2

      I used a python library named Manim :)

  • @italianrussianmax4133
    @italianrussianmax4133 2 месяца назад

    0:24 me in the mornig after a coffee and a sigarette

  • @eshanajain7082
    @eshanajain7082 2 года назад +1

    Hi! I absolutely loved the approach to them probelm and how easy you made Monte Carlo for me. Could you explain the KingKing algorithm you made please?

  • @yijingwang7308
    @yijingwang7308 10 месяцев назад

    Hello thank you for your video. But I do not know what does 49P4 mean in 1:54. Could you help me explain this?

  • @nathaniel1069
    @nathaniel1069 Год назад

    Hold on, so was the last Monte Carlo simulation inaccurate? I didn’t understand your point about that. There’s no way the true probability of that event was ~73%.

  • @cryingrain4812
    @cryingrain4812 Год назад

    Thank you, I understand the main subject but couldn’t really understand the codes. I’ll try by my own.

  • @nicolasrodrigo9
    @nicolasrodrigo9 2 года назад

    My brain exploded when you've said "easy, right?" 🤯

  • @arowil
    @arowil 8 месяцев назад

    great Polish math do that Stanisław Ulam
    en.wikipedia.org/wiki/Monte_Carlo_method
    we study it in secondary school

  • @bidyutsaha2051
    @bidyutsaha2051 4 года назад +2

    Please make a video on Markov Model

  • @ashitaggarwal8048
    @ashitaggarwal8048 Год назад

    first time I actually understood Monte carlo simulation. Thanks for the video

  • @dxfvgyhjh
    @dxfvgyhjh 2 года назад

    i didn't understand how you shuffled the deck with random data points if you can't obtain randomness?

  • @dariushbahrami8524
    @dariushbahrami8524 3 года назад +1

    Best definition of monte-carlo method imo is: instead of predicting, let it happen

  • @TheFasof
    @TheFasof 3 года назад +1

    The bell sound in the beginning is way too loud for my taste :)

  • @gonzalodelacruz9831
    @gonzalodelacruz9831 4 года назад +1

    Great video! I really liked it. I subscribe for more content!

  • @AlexG-fg6fu
    @AlexG-fg6fu Год назад

    first time I understand clearly what MC is lol thank you !

  • @bidyutsaha2051
    @bidyutsaha2051 4 года назад +1

    Great work

  • @user-op2gu4bp8n
    @user-op2gu4bp8n 2 года назад

    👏👏👏👍👍👍👍👏👏👍👍👍👍

  • @vuthee529
    @vuthee529 Год назад

    Really great explanation and motivation why using Monto Carlo. Thanks

  • @jonathanwallace9932
    @jonathanwallace9932 10 месяцев назад

    Easy right? 😂. Love this guy.

  • @positivenozy6065
    @positivenozy6065 Год назад

    Hey, man, that's thing is real cool! Keep doing great videos, love graphs, simulations in your videos, real good!

  • @kasraazizi7940
    @kasraazizi7940 5 месяцев назад

    fantastic video

  • @BrokenRecord-i7q
    @BrokenRecord-i7q Год назад

    Thanks bhai❤

  • @SmitaBarai
    @SmitaBarai 3 года назад

    just live it..........

  • @ronydas1
    @ronydas1 Год назад

    Awesome

  • @ahmedelsabagh6990
    @ahmedelsabagh6990 2 года назад

    Very great video

  • @LightWolf4474
    @LightWolf4474 2 года назад

    great video, thanks

  • @sitanshugupta9600
    @sitanshugupta9600 2 года назад

    Great vid ! Subscribed !

  • @rjaph842
    @rjaph842 2 года назад

    in 1.44 how does it become 49 positions?i thought it was supposed to be 48

    • @rjaph842
      @rjaph842 2 года назад

      I get it finally,thanks!

  • @AlmostDead
    @AlmostDead 3 года назад

    where can i find the whole python code please?

    • @NormalizedNerd
      @NormalizedNerd  3 года назад

      Finally uploaded the code to GitHub...
      github.com/Suji04/NormalizedNerd/blob/master/Miscellaneous/monte_carlo.py
      Thanks for waiting :)

  • @Throwingness
    @Throwingness 3 года назад

    What the heck is copy.deepcopy?

    • @NormalizedNerd
      @NormalizedNerd  3 года назад +1

      In python we use deepcopy when we want to make a new object with the properties of an existing object without creating a reference. If we use shallow copy then it just creates a reference. It's like pass by value vs pass by reference.

  • @victormerida8132
    @victormerida8132 2 года назад

    Thank you so much sir !

  • @beatthebieber8449
    @beatthebieber8449 3 года назад

    make a game... how much of the viewers have stoped to calculate it by their own? I would say 2

  • @shantanudash7
    @shantanudash7 3 года назад +1

    Really awesome!! Keep up the great work!

  • @hasben0
    @hasben0 2 года назад

    Well done!

  • @elenasmirnova2623
    @elenasmirnova2623 Год назад

    Great demo!

  • @abeda6852
    @abeda6852 Год назад

    Absolutely loved this 👏

  • @yunusemredarici7284
    @yunusemredarici7284 3 года назад

    you saved my life :) ıt is amazing explanation

  • @charissayu8025
    @charissayu8025 3 года назад

    Hi do you have the link for the python code notebook? Thanks :)

    • @NormalizedNerd
      @NormalizedNerd  3 года назад

      I haven't made it public yet...I'll add the link in video description.

    • @AlmostDead
      @AlmostDead 3 года назад

      @@NormalizedNerd hello there! where can i find it?

  • @ozancanacar8237
    @ozancanacar8237 2 года назад

    Thank you so much! Great explanation.

  • @murilopalomosebilla2999
    @murilopalomosebilla2999 3 года назад

    Best Monte Carlos video on youtube!!

  • @PsynideNeel
    @PsynideNeel 4 года назад

    Ads noce😎😎

  • @hjkdfhuyhjk321hku7
    @hjkdfhuyhjk321hku7 3 года назад

    Great content,Great teacher!

  • @mk_upo
    @mk_upo 3 года назад

    Keep it up!