Presentation is loading. Please wait.

Presentation is loading. Please wait.

Naïve Bayes Rap vs. Country. Wonder Why They Call You B”uddy” Cleanin’ Out My Closet Notorious Things RAP.

Similar presentations


Presentation on theme: "Naïve Bayes Rap vs. Country. Wonder Why They Call You B”uddy” Cleanin’ Out My Closet Notorious Things RAP."— Presentation transcript:

1 Naïve Bayes Rap vs. Country

2 Wonder Why They Call You B”uddy” Cleanin’ Out My Closet Notorious Things RAP

3 Country She Thinks My Tractor’s Sexy Go High On That Mountain Blue Eyes Crying In the Rain Country

4 Smoky Mountain Rain Alonzo Shockley’s My B”uddy” How can we tell where these belong?

5 FrequencyP(word)Rap Freq.P(word|Rap)Country Freq.P(word|Country) B"uddy"10.03225810.076900 blue10.0322580010.0625 call10.03225810.062500 cleanin10.03225810.062500 closet10.03225810.062500.022222 cryin'10.0322580010.0625 eyes10.0322580010.0625 go10.0322580010.0625 high10.0322580010.0625 in10.0322580010.0625 mountain10.0322580010.0625 my20.06451610.062500 notorious10.03225810.062500 on10.0322580010 out10.03225810.062500 rain10.0322580010.0625 rest10.0322580010.0625 s20.06451610.062500 sexy10.0322580010.0625 she10.0322580010.0625 that10.0322580010.0625 the10.0322580010.0625 they10.03225810.062500 things10.03225810.062500 thinks10.0322580010.0625 tractor10.0322580010.0625 why10.03225810.062500 wonder10.03225810.062500 you10.03225810.062500 SUM311131161

6 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…


Download ppt "Naïve Bayes Rap vs. Country. Wonder Why They Call You B”uddy” Cleanin’ Out My Closet Notorious Things RAP."

Similar presentations


Ads by Google