Monte Carlo Simulation
HTML-код
- Опубликовано: 13 июн 2024
- A Monte Carlo simulation is a randomly evolving simulation. In this video, I explain how this can be useful, with two fun examples of Monte Carlo simulations: The first model shows how pi can be determined with Monte Carlo sampling, and in the second part of the video we will take a look how animations can be rendered with Monte Carlo path tracing.
If you want to see another Monte Carlo simulation in action, check out this video:
• Entropy Explained with...
If you want to support my channel, subscribing, liking and sharing is an amazing help. Thank you! :) If you feel like this video added value to your life and you want to support MarbleScience even more, please consider becoming a patron.
/ marblescience
Chapters:
00:00 What are Monte Carlo simulations?
01:01 determine pi with Monte Carlo
03:01 analogy to study design
04:56 back to Monte Carlo
05:57 Monte Carlo path tracing
08:51 summary
There is also a text version of this video on my website:
marblescience.com/blog/monte-...
You can also find me at:
/ tobiasllemke
/ marblescience - Наука
If you want to support my channel, subscribing, liking and sharing is an amazing help. Thank you! :) If you feel like this video added value to your life and you want to support MarbleScience even more, please consider becoming a patron. www.patreon.com/MarbleScience
You are incredibly handsome
04:30 The law of large numbers is bullshit. If it were true, no one would have been surprised by the election of Harry S. Truman to the office of president of the USA.
When are you making more videos? :( I absolutely loved this one!
I've done two out of your three suggestions. I liked and I subscribed. Now, I have to think to whom I'm going to send it. What if I send randomlly to my friends list? 😄👍🏼
@@JorgeBrown no objections from my side 😄
You are a mathematician harry
literally hypnotized by how clean that marble animation was. This channel feels like a massive hidden gem!
yeah it's really good. though the scale with the cylindrical container on it should have been circular 🙈
Nice Video and even better Animation!
Thanks!
:DDD
Ich habe Grade dein Video über die Atemübungen gesehen und jetzt dieses Video und du bist einfach hier in den Kommentaren. (Hab vorher noch nie ein Video von dir gesehen)
No! Nice animations even better video
so ein macher was machst du denn hier :D
I ended up here randomly, was not disappointed. Your accent is great, material delivery was clear and concise, the animation was solid, and video length was perfect. Keep up the good work, this channel will go far!
Did you drop in during a montecarlo simulation ?
Why does this comment sound like a good teacher’s feedback? :)
@@AndoMusicChannel LOOOL exactly my reaction!
@@AndoMusicChannel Because it's constructive, not just another meme.
Randomly... not really
As an engineer, I love watching videos explaining various math concepts through different ideas, even though I already learned these concepts quite well. You did a fantastic job. I appreciate all works that make science/math/engineering easy to the grand public!
It is a brilliant demonstration, also it left me wondering if the robotic arm is connected to the tabletop with the dishes,l guess it could move the dishes slightly,or not?
This was fantastic. As a mathematician I've always found Monte Carlo simulation to be a tremendously powerful tool, mainly due to its simplicity. To see that you start the video by saying precisely that is truly wonderful :) Keep it up!
I don't know if I would say that Monte Carlo simulation is so simple as I would say that analytic methods get surprisingly complicated with the slightest modification of the standard examples.
I thought mathematicians were nearly always exact....but those who study physica will enjoy this kind of methodes. (Unless you're specialized in statistics....).
You have an amazing knack for presenting complex stuff in a simple manner. Its not just the storyline or the visuals that are great, the audio part is soft-toned and slow enough, easy to follow.
After watching this vid: This channel has to have more than 1million subscribers...
.
After watching the first few seconds: subscribed
Very clever!
Thank you! Not easy to find "no-fluff", straight forward explanations these days. Right level of depth and still entertaining!
This is great! Very unique. As a Maya user I appreciate the amount of effort it took to make this. This kind of content is gold and people will find you. Usually when I watch new channels I have critiques but everything about this is damn near perfect. Can't wait for more
I needed to understand the Monte Carlo methode for my AI project in the Uni. Your video is amazing! thanks a lot :) The visuals and animations are great.
Channels like these deserve all the subscription for helping students all over the world
Absolutely fantastic.
This is what we call go big or go home. This is astonishing as your 3rd video on RUclips. Please keep the good work.
I am extremely grateful to live in world where people who are intellectually-gifted are inclined to share their insights to others in an effective, straightforward way.
Love how the video sections are switched directly on the minute mark.
I love those visuals! Simple but they contain everything. :)
I was looking for a quick and simple explanation on Monte Carlo Simulation and thanks to your video it made my job soo much easier!! Amazing video :)
The marble animations are fantastic, and you in the video are even better.
3D animator, learning python, was researching the best way to understand Monte Carlo Simulation. Props for an amazing video overall, crisp animation, no nonsense explanation, and the rendering example just solved too many puzzles bundled in years. Liked and subbed. Thank you very much.
Glad it helped :)
Awesome explanation of Monte Carlo simulations!
Clear and concise, love it!
Really amazing video, so concise yet explanatory with visuals to boot!
Ok, we need more videos please. Wonderfully made and spoken clearly! 😂😊🙏 Thank you so much for your effort to make these videos and explain it in simply.
Can I ask what program you use for your animations? Specifically the one with people rotating around the globe.
Sure, It is all made with Blender. The 3D animations as well as the animated drawings.
Only 4k view for such an beautiful explanation? Great job man!!
Great video man, good explanation and amazing application example
I’ve encountered this probably only 3-4 times in my career and every time I need a refresher and am suitably impressed with its elegance and RL applications. Thanks for the simplest explanation and demonstration I’ve seen yet. New subscriber here.
Great to hear!
I haven’t seen anyone explain MC simulations so clearly. Please keep it up and upload videos on more such topics.
Hi from RUclips Recommended. Appreciate the production value and quality of content.
The production value of this video is AMAZING. Please keep creating content my dude
Thank you! Will do!
Dude, this is just amazing how you explain this, the idea with marbles is brilliant, thank you very much, and keep it up!😊
Dude, this was really good... takes a complex concept and illustrates it with very understandable examples and graphics. Well done.
Really well explained
great visuals
nice audio quality
this channel is on the right path
love it
This video is probably gonna blow up in the future. Good luck(68K views now)
2 days later 235k views.... (18 nov 2020)
1M (10 Jun 2023)
Awesome video!
I had come across "Monte Carlo simulation" several times while reading rendering papers.
Now to get an understanding of "stochastic".
I was reading a whitepaper on Project life cycles: and how uncertainty decreases over time (given a set of constraints in the model), and the corresponding increases in cost of change. This animation of Monte Carlo Simulation tool is so beautiful. Thank you!
My father is currently the youngest still-surviving American POW of WW-2. He also worked at RAND Corp., programming early computers. He went to CACI, where he did 'all' of Harry Markowitz's math (Markowitz won a Nobel). Video reminded me of it, thanks for that! My father explained that the Monte Carlo method required lots of 'transactions' to work well. He compared it to a CASINO when we visited Las Vegas: empty and dull until enough people showed up to gamble. He opined that the methodology formed the basis of the modern financial industry, which requires lots of 'transactions' to appear vibrant. In the 1990's he stated that some of the mathematics he wrote and coded at RAND in the early 1960' was still embedded in code modules commonly in use then (and perhaps now as well).
Wow... great
Thanks for the amazing content and presentation. This channel is gonna grow for sure!!
Never heard anyone explain anything this concise 👏👏👏
Sounds and visuals are just perfect, this channel has a huge potential to grow. Thanks for explaining it simple Tobias! A lot of effort is committed in the video, I hope you'll keep creating more :)
Thanks :) I will!
I really like the style of this video, a good but simple way of explaining things👍
And some really nice animations :)
Thanks :)
@@MarbleScience can you tell me more about how you do them? Is it Blender + Python? Thanks ;)
Great video, did not know monte carlo methods were used for light scattering in diffused surfaces but it makes so much sense!
This was an amazing explanation. After searching so many contents and watching many youtube videos, finally I understood the concept of Monte Carlo simulation. Thanks.
Glad it was helpful :)
Amazing work and explanation! I think I finally understand the main reasoning to use a Monte Carlo simulation on a given problem. Thanks!
Great video and a fantastic explanation! I love the 3D visuals, they look really nice.
I’m currently using Monte Carlo simulations to fit molecular simulation boxes to neutron diffraction data.
Amazing! I was reading a book today that referring to this concept. It's so much clearer now, thanks a ton!
Fooled by randomness?
So interesting! The flow of the video including the visuals are amazing!
Brilliant video. The animations make it easy for anyone to understand all the concepts.
Great work on these simulations. I'm looking at Physics graduate programs right now and I've seen "Monte Carlo" thrown around quite a bit. Good to know they just meant "estimates that give good enough answers."
This is a really useful concept and is very similar to that used in the colour sampling done using bayer sensors in digital cameras. So long as the pixel count is high enough, the distributed mosaic pattern (or colour filter array) allows for sampling of enough RGB luminance values to fairly accurately interpolate (using demosaicing algorithms) the neighbouring pixel colour. The concept of signal to noise ratios and thresholds for a given task can be applied to just about any situation. You did a great job of explaining this.
Interesting! I always love to discover situations where this concept is used, and yes there are really a lot. Thanks for your comment.
Saw first video from your channel today and have already hit the subscribe button! Really cool explanation. Thank you!
These animations are unreal and the video quality is amazing.
Great video! Another computer graphics example is Ambient Occlusion, which artificially adds shadows to occluded places that are unlikely to get much light reflected to them, like the corner of a room. Very roughly speaking you can imagine a small sphere around each image pixel, and then you sample a number of random points within that sphere. For each sample point that is "inside" an object, you make the pixel a little darker to simulate occlusion, since that indicates that no light can come from that direction.
Usually only a few samples are taken (~8-32 in real time applications like games), so the result is very noisy just like in your lighting example. But this noise is often considered a good thing because you can save the resulting shadows to a seperate image and put them through a smoothing algorithm before applying them to the output screen. The result tends to looks positively organic - reasonbly smooth, but with a bit of visible randomness to it, just like most real life surfaces.
Vielen Dank, sehr cooles and gut verständliches Video!
Wonderful explanation! I've read so many papers that use Monte Carlo simulations to analyze results but I never really knew what that meant. Thank you for your intuitive approach to explaining the concept, this was very clear.
The quality of videos on that channel is extremely well: explanations are clear and thorough and proper animations play a great deal in illustrating concepts. The world needs content like that, please do more.
Glad you like them!
Incredible job! That's some high quality and very educational content right there. Really hope that your work will be appreciated more :) Thanks
AKA "I'm too lazy to learn integrals"
"It's a type of overtly theoretical concept that can solve incredibly complex problems, which I thoroughly enjoy doing"
Nerds have a totally different world.
Thank you for this fantastic video! It is the best explanation of the Monte Carlo method I've come across so far,
This is the first time in a long time that I haven’t spent time reading comments during the video. You held my full attention in the palm of your hands haha. This was awesome, thank you!
Glad to hear it!
High quality content, I can see you channel growing quickly and eventually to millions of subscribers!!!
I wish the same
High quality, extremely nice production value, subbing just because of that.
Wow I didn't look at subscribers until after, I just assumed it was like several hundred thousand at least!
Why’d I think this vid was hummus recipe
Oh my gosh same!!
I thought it was chickpeas too and that's why clicked on the video!
😂
I couldn't really understand Monte Carlo by reading a paper, but I can easily understand it from a 10 mins long video. This is awesome!
Fantastic video quality! This channel deserves way more subs
Can you use a Montecarlo simulation to determine when randomness becomes reliable? Perhaps Defining reliable as 2decimal places. Just curious.
I imagine you can continue the simulation until it wanders as little as you need.
From the law of large numbers, you can make predictions about the standard deviations. It mostly goes as ~1/√N where N is the number of samples
Man, am I glad that Edward Snowden finally found a job
... playing Harry Potter.
He looks even more like Ryan Eggold, actor in The Blacklist
@@WilcoVerhoef True again
Tobias (the person in the Video), just in case you’re reading this: I enjoide the whole video, honestly. Were just having a little fun here.
@@WilcoVerhoef Yeah, was thinking the same.
Such an incredible video, Monte Carlo simulation is incredibly widely used and important in radiation therapy physics to simulate particles. I am studying it currently and it is so refreshing to think about the concepts in physics with your marble animations! Amazing and thank you!
I love to see the excitement in your explanations! Wonderful example.
Thank you! 😃
I finally did it!!!!
I FOUND WALDO!!! 😭
He looks like Mr. Beast dressed as waldo
People who disliked this video have a soul, but no hole!
Love it, clear, precise but not too much : just the right amount of information for a break, and enough to want to watch the rest :)
This video production is a gem.
So that’s what “default hair” looks like in real life...neat.
😂
Did anyone else think he was doing a Monte Carlo simulation with Corn Pops from the thumbnail???
I thought it was chickpeas LOL
Determining if I should subscribe to a chanell never was that easy! Keep up the awesome work! Love the illustration and your style! You sir, deserve A LOT more subscribers!
What?!?! I thought it was a real experiment. This is probably one of the best animations I've ever seen. Great video and super nice explanation of the concept too!!!
Considering that your viewers are a random representation of the population. Does the like/dislike ratio represent how good or bad your content is?
Haha good question. Actually I observed that the ratio is shifting. Initially the video was mainly found via search. Now the video is mainly found via suggestions on the home screen. The like/dislike ratio was still higher when the video was mainly watched by people who where specifically searching for Monte Carlo sims.
So, no viewers are certainly not a random representation of the population, and metrics like the like/dislike ratio depend a lot on what audience the RUclips algorithm chooses for a video.
That is actually a very interesting and tricky optimization problem. The RUclips algorithm tries to find good videos based on metrics like like/dislike, and at the same time the algorithm influences these metrics by choosing the viewers.
(ha I guess I shouldn't spend so much time on comments but I think that's really interesting😊)
@@MarbleScience What's your main field of study? I'm just curious because of the language you're using, which could either stem from Pure Mathematics or Computer Science lol
Also, please do more videos, using these visualizations. I could imagine that even concepts such as Quantum Mechanics could be better explained with marbles, than by any teacher...
I studied chemistry, but I'm PhD student in a computational chemistry group 😉
Harry Potter + Mark Zuckerberg = MarbleScience
love it
used Markov-Chain-Monte-Carlo for my master thesis study in the medical field. Made me a bit happy that the youtube algorithm showed me your video :)
Awesome video! Was always interested in what Monte Carlo simulations are. Great Animations as well! Can't wait to see what other videos you're going to make.
he looks like mr beast if he had continued college
He should shave his beard and just leave the moustache.
lol
AKA "I'm too lazy to learn integrals"
:REAL:
Not everything can be integrated. Especially in real life...
You have no idea what you are talking about. Just because you took an intro to calc class doesn't mean you know how to properly simulate anything.
If you disagree tell me how you would even approach this problem using integrals without an absurd amount of computing power
You have no idea what you are talking about. Just because you took an intro to calc class doesn't mean you know how to properly simulate anything.
If you disagree tell me how you would even approach this problem using integrals without an absurd amount of computing power
Modern graphics simulations will have to disagree with you. Path tracing is impossible without Monte Carlo.
I'm so glad to have been randomly interested in this and have found this channel as a result.
Thanks man, amazing video quality, production and content!
This was done reaaaalllly nicely, good job man!
You really did a great work with this video. :) The marble simulation was top!!
Awesome video man! By the quality alone I was sure you would have at least 100k subscribers. Keep it up and you will get there for sure!
Outstanding dude. Keep going. I am an enthusiast but I had no idea of these. Love it.
Wow-effect. Instantly you enlighted, what until now, like a shadow fluctuated through my brain. A perfectly timed speed of explanation, perfect animations. Chapeau!
Very interesting. Often you just are taught: this is how MC simulations work. But now I learned that they are a short cut, you don't have to trace all possibilities!
man, the visuals were stunning
Amazing work! Hope to see more of it in the future!! :)
Thank you for your patient and well-paced explanation.
Thank you! It's crisp and clear. Amazing video making. :)
This video has illuminated some more random knowledge paths in my mind to see this concept more clearly.
That is a very informative and brilliant video to explain the simulation. I like how you used simple analogies to explain it. Thanks for this illuminating content !
Pleasant explanation. I liked a lott about your animated examples.. Thumbs up for it. Thanks for giving such a deep idea about MC
nice! I was locking for this, while in a class about raytracing. I didn't expect that there would be path tracing at the end of this video, but now extra happy. haha
I happened to see this video by boredom, and I find it very interesting! Great work!
I was searching for Monte Carlo Rally.
Landed here.
Not disappointed!
Excellent explanation! :) Love it! :)
Glad you liked it!