Intro to Machine Learning: Naive Bayes Classifier

Programming a Naive Bayes Classifier from Scratch

Posted on July 29, 2017

Hello Everyone !!

Thanks for continuing with this post.

In the last post, we discussed about the use of Naive Bayes Algorithm for Classification and the driving force behind it, the Baye's Rule, the theory and mathematics behind it.

In this post, we will start writing our own Naive Baye's Classifier from Scratch. So, let's get started.

You can find the Python code file and the IPython notebook for this tutorial here.

Naive Baye's from Scratch:

Now that we have covered the basic Naive Bayes Algorithm, let's move on to see how this algorihtm works in other tools like Scikit-Learn.

Great work on completing this tutorial, let's move to the next tutorial in series, Introduction to Machine Learning: Programming a Gaussian Naive Bayes Classifier

For more projects and code, follow me on Github

Please feel free to leave any comments, suggestions, corrections if any, below.

comments powered by Disqus