Naive bayes theorem tutorial. Learn how to fit the model, compute log-likelihoods, apply numerical stability tricks like l...