No video

Bayesian Treasure Hunt : Data Science Code

  Рет қаралды 12,267

ritvikmath

ritvikmath

Күн бұрын

Arrgh.
Bayesian Reasoning Video : • What the Heck is Bayes...
Link to Code : github.com/rit...

Пікірлер: 24
@queenisforever1
@queenisforever1 3 жыл бұрын
very nicely explained, I have not seen Bayesian stats explained as lucidly, thank you
@ritvikmath
@ritvikmath 3 жыл бұрын
Glad it was helpful!
@yuqiliang1900
@yuqiliang1900 Жыл бұрын
It is really helpful and much better than using examples like tossing a dice or flipping a coin. Thank you so much! ❤
@ritvikmath
@ritvikmath Жыл бұрын
Glad it was helpful!
@patrickmullan8356
@patrickmullan8356 3 жыл бұрын
Nice tutorial! Question unrelated to the actual content: How did you make the md5 text so nice readable? Is each line written with some "###" in front, actually declearing it as a heading?
@ritvikmath
@ritvikmath 3 жыл бұрын
Yes, exactly!
@dp6736
@dp6736 Жыл бұрын
Very good explanation. Thanks a lot.
@ritvikmath
@ritvikmath Жыл бұрын
Of course!
@WeAreTeamNovus
@WeAreTeamNovus Жыл бұрын
Would you have an example (or could refer to a classic example) where the posterior would not (necessarily) lead to a better outcome than either the prior or likelihood?
@user-or7ji5hv8y
@user-or7ji5hv8y 3 жыл бұрын
But I wonder why beep and no beep posteriors led to different conclusions.
@ritvikmath
@ritvikmath 3 жыл бұрын
that's a valid question. I think of it this way: Before sending the robot out, we have some prior probability of where the treasure will be. Then, we send the robot out and observe some additional evidence (the beep or no-beep). Using that additional evidence, we make a decision about where to dig. So, different states for the evidence (beep vs no-beep) can differently affect our conclusion.
@jbj926
@jbj926 2 жыл бұрын
It came to a different conclusion from the two different robot events because the robot was not always right when it beeped or not beeped. So, you have a decision point. If the robot comes back with a beep, then you evaluate the probabilities for that event. If the robot comes back with no beep then you evaluate the probabilities for that event. It would appear that chances are greater for finding treasure if the robot does not beep for a particular square. Which is what makes it weird because the purpose of the robot is to help find treasure but here lies the variability in its measurement capabilities. Sometimes the idea is good but the equipment fails to measure at a useful accuracy or precision necessary to be useful.
@ohokaythen
@ohokaythen 3 жыл бұрын
If the highest posterior probability is in square 1 when the robot does not beep, shouldn't that be the last place you'd want to dig for treasure?
@ritvikmath
@ritvikmath 3 жыл бұрын
So the logic would be that if you send the robot out and it comes back and does not beep, the most probable place for the treasure is square 1. However if you send it out and it comes back and beeps, the most probable place is square 0.
@ohokaythen
@ohokaythen 3 жыл бұрын
@@ritvikmath but not beeping = treasure unlikely, right? So if we’re using “no beep” in the posterior probability calculation, shouldn’t the highest posterior probability in this case be the last place you’d want to look for treasure? Wouldn’t you want to look at the lowest posterior probability when you’re using the “no beep” probability in the calculation?
@vijaysaiturai4028
@vijaysaiturai4028 2 жыл бұрын
@@ohokaythen The posterior probability here calculates the probability of finding the treasure given the robot beeps or does not beep. Hence in both cases its actually calculating the same probability of finding the treasure based on two different given conditions i.e. robot beeping and not beeping.
@omarboukherys5216
@omarboukherys5216 3 жыл бұрын
Thank you 😁
@ritvikmath
@ritvikmath 3 жыл бұрын
You're welcome!
@yucijay9681
@yucijay9681 Жыл бұрын
I didn't figure out the 'get_robot_beep' moudle which decide the robot beep or not... Or it's just a random event?
@pierreminier2695
@pierreminier2695 Жыл бұрын
The 'get_robot_beep' provides a sample of a binary law based on the robot skills to find the treasure on this specific island (robot_likelihoods). This robot skills depend on the true location of the treasure (loc). This is the only time where the true location is used, in order to simulate experimental data. def get_robot_beep(loc, robot_likelihoods): i, j = loc//2, loc%2 # Cartesian conversion u = np.random.random() # Sample from the uniform law U([0, 1]) return u < robot_likelihoods[j, i] # Binary output: beep or no_beep It is important to note that there is a treasure, and a single one. And the robot can provide a single behaviour for the entire island: "beep" or "no beep". And this is a "random event" (not uniform, but random)
@kef103
@kef103 4 күн бұрын
Really
@Young_Nietzsche
@Young_Nietzsche Жыл бұрын
Nice
@ritvikmath
@ritvikmath Жыл бұрын
Thanks
@fsaldan1
@fsaldan1 Жыл бұрын
What you say at 2:24 is quite confusing as it seems inconsistent with other statements.
Markov Chain Monte Carlo (MCMC) : Data Science Concepts
12:11
ritvikmath
Рет қаралды 202 М.
The Unreasonable Effectiveness of Bayesian Prediction
15:03
ritvikmath
Рет қаралды 20 М.
WHO CAN RUN FASTER?
00:23
Zhong
Рет қаралды 46 МЛН
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00
Is Rust the New King of Data Science?
15:38
Code to the Moon
Рет қаралды 135 М.
Bayes Theorem and some of the mysteries it has solved
16:18
Zach Star
Рет қаралды 482 М.
Bayesians, Frequentists, and Parallel Universes
13:50
ritvikmath
Рет қаралды 8 М.
What the Heck is Bayesian Stats ?? : Data Science Basics
20:30
ritvikmath
Рет қаралды 64 М.
The Last Algorithms Course You'll Need by ThePrimeagen | Preview
16:44
Frontend Masters
Рет қаралды 316 М.
The Bayesian Trap
10:37
Veritasium
Рет қаралды 4,1 МЛН
Naive Bayes classifier: A friendly approach
20:29
Serrano.Academy
Рет қаралды 142 М.
How I would learn Machine Learning (if I could start over)
7:43
AssemblyAI
Рет қаралды 755 М.
The Surprisingly Effective Magic of Partial Pooling
12:48
ritvikmath
Рет қаралды 9 М.