Chapter 03.06: Naive Bayes
Naive Bayes is a generative approach based on an assumption of conditional independence across features and closely related to discriminant analysis.
Lecture video
Lecture slides
Code demo
Comparison of classification methods
You can run the code snippets in the demos on your local machine. The corresponding Rmd version of this demo can be found here. If you want to render the Rmd files to PDF, you need the accompanying style files.
Code demo
Deep-dive generative classification methods
You can run the code snippets in the demos on your local machine. The corresponding Rmd version of this demo can be found here. If you want to render the Rmd files to PDF, you need the accompanying style files.
Quiz
---
shuffle_questions: false
---
## Which statements are true?
- [x] Naive Bayes assumes that the features are independent within each outcome class $y$.
- [x] Naive Bayes follows a generative approach.
- [ ] Decision boundaries in Naive Bayes are linear.