Scikit-Learn incorporation - Natural Language Processing With Python and NLTK p.15
Despite coming packed with some classifiers, NLTK is mainly a toolkit focused on natural language processing, and not machine learning specifically.
A module that is focused on machine learning is scikit-learn, which is packed with a large array of machine learning algorithms which are optimized in C.
Luckily NLTK has recognized this and comes packaged with a special classifier that wraps around scikit learn. In NLTK, this is: nltk.classify.scikitlearn, specifically the class: SklearnClassifier is what we're interested in.
This allows us to port over any of the scikit-learn classifiers that are compatible, which is most.
Playlist link: https://www.youtube.com/watch?v=FLZvOKSCkxY&list=PLQVvvaa0QuDf2JswnfiGkliBInZnIC4HL&index=1
sample code: http://pythonprogramming.net
http://hkinsley.com
https://twitter.com/sentdex
http://sentdex.com
http://seaofbtc.com