Bayesian

http://www.ibm.com/developerworks/library/wa-bayes1/
https://www.bionicspirit.com/blog/2012/02/09/howto-build-naive-bayes-classifier.html
http://php-classifier.com/