Building a Naive Bayes Classifier from scratch

P(A ∪ B) = P(A) · P(B|A)
P(B|A) = P(A ∪ B) / P(A)
P(A|B) = [P(B|A) · P(A)] / P(B)

--

--

--

Product Management | Productivity | Stoicism

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Shirish Kadam

Shirish Kadam

Product Management | Productivity | Stoicism

More from Medium

Predicting The Price of A House Using Machine Learning

Implementing Gradient Descent For Univariate Linear Regression Using Python and NumPy

Recognizing Handwritten Digits with Scikit-Learn

Recognizing Handwritten Digits with scikit-learn