Naïve Bayes Rap vs. Country
Wonder Why They Call You B”uddy” Cleanin’ Out My Closet Notorious Things RAP
Country She Thinks My Tractor’s Sexy Go High On That Mountain Blue Eyes Crying In the Rain Country
Smoky Mountain Rain Alonzo Shockley’s My B”uddy” How can we tell where these belong?
FrequencyP(word)Rap Freq.P(word|Rap)Country Freq.P(word|Country) B"uddy" blue call cleanin closet cryin' eyes go high in mountain my notorious on out rain rest s sexy she that the they things thinks tractor why wonder you SUM
Added Since Lecture… Does P(w|c) = 0 make sense? How did we get around that? How else might we get around that? See your written notes from class or your homework to see how to implement this exactly! Added Since Lecture…