Source script for "The Naive Bayes Algorithm: Step by Step"
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
NaiveBayesStepByStep.R
README.md

README.md

r-naive-bayes-step-by-step

Source script for "The Naive Bayes Algorithm: Step by Step"

This script steps through the naive Bayes algorithm using standard R functions. The goal is not to come up with production-level code--R already has that--but to use R for the "grunt work" needed to implement the algorithm. This lets us focus on how naive Bayes makes predictions, rather than the mechanics of probability calculations.

You can read the instructions on using this file on my website at:

http://synchronicanalytics.com/index.php/2017/03/16/the-naive-bayes-algorithm-step-by-step/