jakelever / textasdata_bugbounty

Bug bounty programme for TextAsData course
MIT License
1 stars 0 forks source link

Lecture 6 Slide 55 Incorrect Calculation #83

Closed MrSpuddy closed 5 months ago

MrSpuddy commented 5 months ago

The third calculation, namely "P(VERB | PROPN) P(drew | VERB) = 2/4 2/6 = 3/12" should instead use 3/6 instead of 2/6 as the probability for P(drew | VERB), as can be seen on the previous slide and the probabilities in the image below, making the answer 1/2, not 3/12.

Also (just because I noticed), the answer for the third calculation as it is written currently should match the fourth calculation, since they use the same values, so should be 2/12, though this is obviously irrelevant since the third uses incorrect values.

Screenshot 2024-02-12 at 19 29 55
jakelever commented 5 months ago

Thanks for spotting this. May trip someone up so 3 points. I've changed the denominators to make things more comparable anyway.