Naive Bayes (DataSet) OutlookTempHumidityWindyClass sunnyhothighfalseDon't Play sunnyhothightrueDon't Play overcasthothighfalsePlay rainymildhighfalsePlay rainycoolnormalfalsePlay rainycoolnormaltrueDon’t Play overcastcoolnormaltruePlay sunnymildhighfalseDon’t Play sunnycoolnormalfalsePlay rainymildnormalfalsePlay sunnymildnormaltruePlay overcastmildhightruePlay overcasthotnormalfalsePlay rainymildhightrueDon’t Play
Naive Bayes (Disc-Naive-Bayes) Outlooktemperaturehumiditywindyplay yesnoyesnoyesnoyesnoyesno sunny23hot22High34False6295 overcast40mild42normal61true33 rainy32cool31 sunny2/93/5hot2/92/5high3/94/5false6/92/59/145/14 overcast4/90/5mild4/92/5normal6/95/5true3/93/5 rainy3/92/5cool3/91/5
Naive Bayes (Test) OutlookTempHumidityWindyClass sunnycoolhightrue? yes P(Class = yes | Outlook = sunny Temp = cool Humidity = high Windy = true) no P(Class = no | Outlook = sunny Temp = cool Humidity = high Windy = true) Teorema de Bayes
Naive Bayes (Test)
(Test)
(Test)
(Test)
(DataSet) OutlookTemp(ºF)HumidityWindyClass sunny85 falseDon't Play sunny8090trueDon't Play overcast8386falsePlay rainy7096falsePlay rainy6880falsePlay rainy6570trueDon’t Play overcast6465truePlay sunny7295falseDon’t Play sunny6970falsePlay rainy7580falsePlay sunny7570truePlay overcast7290truePlay overcast8175falsePlay rainy7191trueDon’t Play
Naive Bayes (Naive-Bayes) Outlooktemperaturehumiditywindyplay yesnoyesnoyesnoyesnoyesno sunny false6295 overcast true33 rainy
Outlooktemperaturehumiditywindyplay yesnoyesnoyesnoyesnoyesno sunny2/93/5 7374,6 79,186,2false6/92/59/145/14 overcast4/90/5 6,27,9 10,29,7true3/93/5 rainy3/92/5 Naive Bayes (Naive-Bayes)
(Test) OutlookTempHumidityWindyClass sunny6690true? yes P(Class = yes | Outlook = sunny Temp = 66 Humidity = 90 Windy = true) no P(Class = no | Outlook = sunny Temp = 66 Humidity = 90 Windy = true) Distribución Normal
Naive Bayes (Test)
(Test)