tubeshowcase●1,194,391 videos♡ My collection 0
← Learn to Code

Learn to Code07:18

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

sentdex ↗

From the creator

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

Published 2015-05-13 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code