Via O'Reilly: Nice Python example of using Naive Bayes for text classification. With actual code, and links to talk and slides.
" ... Full repo here: https://github.com/arnicas/NLP-in-Python
This is an example of going from labeled text to machine classification, first with NLTK and then the Python machine learning library scikit-learn. Examples updated from my OpenVis Conf talk here, which is more entertaining: https://www.youtube.com/watch?v=f41U936WqPM and slides: http://www.slideshare.net/arnicas/the-bones-of-a-bestseller
Warning: Rated NC-17. Using text samples from "50 Shades of Gray"! (Because spam is boring.) ... "
Wednesday, February 25, 2015
Sample Naive Bayes Text Classification in Python
Labels:
Bayesian,
Classification,
Hub,
Python,
Spam,
text analytics,
YouTube
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment