Naive Bayes Classifier - Example -classify- play tennis - forecast
Naรฏve Bayes Classifier - Example -classify- play tennis - forecast Let’s build a classifier that predicts whether I should play tennis given the forecast . It takes four attributes to describe the forecast; namely, the outlook , the temperature , the humidity , and the presence or absence of wind . Furthermore, the values of the four attributes are qualitative (also known as categorical ). They take on the values shown below. ๐ถ๐๐๐๐๐๐ ∈[๐บ๐๐๐๐,๐ถ๐๐๐๐๐๐๐, ๐น๐๐๐๐] ๐ป๐๐๐๐๐๐๐๐๐๐∈[๐ฏ๐๐,๐ด๐๐๐
, ๐ช๐๐๐] ๐ฏ๐๐๐๐
๐๐๐ ∈[๐ฏ๐๐๐, ๐ต๐๐๐๐๐] ๐พ๐๐๐
๐ ∈[๐พ๐๐๐, ๐บ๐๐๐๐๐] The class label is the variable, Play and takes the values Yes or No. ๐ท๐๐๐∈[๐๐๐, ๐ต๐] We read-in training data below that has been collected over 14 days Classification Phase Let’s say, we get a new instance of the weather condition , ๐ฟ^′=(๐ถ๐๐๐๐๐๐=๐บ๐๐๐๐, ๐ป๐๐๐๐๐๐๐๐๐๐=?...