S30 Logo
S30 AI Labwww.thes30.com
Back
#13

Probabilistic ML Thinking (Naive Bayes)

Medium🎯 Classical MLW3 D5

Before You Start

Required knowledge
Conditional probability, logarithms, and Python dictionaries.
Libraries used
NumPy
Dataset and source
Six spam/ham messages embedded in the notebook; no external text corpus.
Expected output
Token counts, a smoothed naive Bayes classifier, log-probability predictions, and informative tokens.

Need help? Share feedback