In this coding challenge, I struggle my way through implementing a Naive Bayes text classifier in JavaScript using p5.js. I explain Bayes' theorem, demonstrate word frequency analysis, implement Laplacian smoothing, and build a working sentiment classifier that runs entirely in ...
Wikipedia article explaining naive Bayes classification algorithms.
Wikipedia article about additive (Laplacian) smoothing technique.
Video series on text analysis and word counting fundamentals.
Video series covering regular expressions for text processing.
Visual explanation of Bayes' theorem with geometric visualization from 3Blue1Brown.
Asynchronous programming in p5.js using async and await.
Complete unedited live stream showing the development process with all mistakes and problem-solving.
- Editing
by Mathieu Blanchette
- Animations
by Jason Heglund