Arrgh. Bayesian Reasoning Video : • What the Heck is Bayes... Link to Code : github.com/rit...
Пікірлер: 24
@queenisforever13 жыл бұрын
very nicely explained, I have not seen Bayesian stats explained as lucidly, thank you
@ritvikmath3 жыл бұрын
Glad it was helpful!
@yuqiliang1900 Жыл бұрын
It is really helpful and much better than using examples like tossing a dice or flipping a coin. Thank you so much! ❤
@ritvikmath Жыл бұрын
Glad it was helpful!
@patrickmullan83563 жыл бұрын
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?
@ritvikmath3 жыл бұрын
Yes, exactly!
@dp6736 Жыл бұрын
Very good explanation. Thanks a lot.
@ritvikmath Жыл бұрын
Of course!
@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-or7ji5hv8y3 жыл бұрын
But I wonder why beep and no beep posteriors led to different conclusions.
@ritvikmath3 жыл бұрын
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.
@jbj9262 жыл бұрын
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.
@ohokaythen3 жыл бұрын
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?
@ritvikmath3 жыл бұрын
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.
@ohokaythen3 жыл бұрын
@@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?
@vijaysaiturai40282 жыл бұрын
@@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.
@omarboukherys52163 жыл бұрын
Thank you 😁
@ritvikmath3 жыл бұрын
You're welcome!
@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 Жыл бұрын
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)
@kef1034 күн бұрын
Really
@Young_Nietzsche Жыл бұрын
Nice
@ritvikmath Жыл бұрын
Thanks
@fsaldan1 Жыл бұрын
What you say at 2:24 is quite confusing as it seems inconsistent with other statements.