Jan 28, 2018

Predicting using Idiot's Bayes

There is a lot of magic that goes into Machine Learning and AI. So it feels great the first time you work out all the math physically and do a prediction given some data.

I set out to implement the Naive Bayes on the pima-indians-diabetes dataset (Google it and you can fine it). There is a lot of greek that goes into understanding the formulae's but for those like me whose dictionary has "greek" meaning "i don't get it", here are all the gory formulae's worked out in a spreadsheet.