Unofficial Lecture 10 Notes

You can refer to this page Theory and example about Naive Bayes Classifier. Actually the excel and the code is inconsistent, the latter conforms to normal probability theory, while the former does not.