Words as Features for Learning - Natural Language Processing With Python and NLTK p.12

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



Duration: 7:18
102,578 views
611


For our text classification, we have to find some way to "describe" bits of data, which are labeled as either positive or negative for machine learning training purposes.

These descriptions are called "features" in machine learning. For our project, we're just going to simply classify each word within a positive or negative review as a "feature" of that review.

Then, as we go on, we can train a classifier by showing it all of the features of positive and negative reviews (all the words), and let it try to figure out the more meaningful differences between a positive review and a negative review, by simply looking for common negative review words and common positive review words.

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-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
2015-05-05Chunking - Natural Language Processing With Python and NLTK p.5
2015-05-04Part of Speech Tagging - Natural Language Processing With Python and NLTK p.4
2015-05-03Stemming - Natural Language Processing With Python and NLTK p.3
2015-05-02Stop Words - Natural Language Processing With Python and NLTK p.2



Tags:
Natural Language Toolkit (Software)
Python (Programming Language)
Natural Language Processing (Software Genre)
machine learning
naive bayes
features