Combining Algos with a Vote - Natural Language Processing With Python and NLTK p.16

Channel:
Subscribers:
1,410,000
Published on ● Video Link: https://www.youtube.com/watch?v=vlTQLb_a564



Duration: 15:45
41,948 views
358


Now that we have many classifiers, what if we created a new classifier, which combined the votes of all of the classifiers, and then classified the text whatever the majority vote was?

Turns out, doing this is super easy. NLTK has considered this in advance, allowing us to inherit from their ClassifierI class from nltk.classify, which will give us the attributes of a classifier, yet allow us to write our own custom classifier code.

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




Other Videos By sentdex


2015-05-26Application Structure - PyQt with Python GUI Programming tutorial 2
2015-05-25Intro/basic GUI - PyQt with Python GUI Programming tutorial
2015-05-24Exec - Python programming tutorial
2015-05-23Python Eval programming tutorial
2015-05-22Python Pickle Module for saving objects (serialization)
2015-05-21Graphing Live Twitter Sentiment - Language Processing With Python and NLTK p.21
2015-05-20Twitter Sentiment Analysis - Natural Language Processing With Python and NLTK p.20
2015-05-19Sentiment Analysis Module - Natural Language Processing With Python and NLTK p.19
2015-05-18Better training data - Natural Language Processing With Python and NLTK p.18
2015-05-16Investigating Bias - Natural Language Processing With Python and NLTK p.17
2015-05-16Combining Algos with a Vote - Natural Language Processing With Python and NLTK p.16
2015-05-16Scikit-Learn incorporation - Natural Language Processing With Python and NLTK p.15
2015-05-15Save Classifier with Pickle - Natural Language Processing With Python and NLTK p.14
2015-05-14Naive Bayes - Natural Language Processing With Python and NLTK p.13
2015-05-13Words as Features for Learning - Natural Language Processing With Python and NLTK p.12
2015-05-12Text Classification - Natural Language Processing With Python and NLTK p.11
2015-05-11WordNet - Natural Language Processing With Python and NLTK p.10
2015-05-10NLTK Corpora - Natural Language Processing With Python and NLTK p.9
2015-05-07Named Entity Recognition - Natural Language Processing With Python and NLTK p.7
2015-05-07Lemmatizing - Natural Language Processing With Python and NLTK p.8
2015-05-06Chinking - Natural Language Processing With Python and NLTK p.6



Tags:
Natural Language Toolkit (Software)
Python (Programming Language)
Natural Language Processing (Software Genre)
combining algorithms
vote
sentiment analysis
opinion mining
text mining
big data