Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Machine Learning Lecture 3: working with text + nearest neighbor classification

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,037
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 28, 2011

We continue our work with sentiment analysis from Lecture 2. I go over common ways of preprocessing text in Machine Learning: n-grams, stemming, stop words, wordnet, and part of speech tagging. In part 2 I introduce a common approach to k-nearest neighbor classification with text (It is very similar to something called the vector space model with tf-idf encoding and cosine distance)

Code and other helpful links:
http://karpathy.ca/mlsite/lecture3.php

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • Andrej does an _excellent_ job of motivating us as to why log(x) would be better. I have not come across a better explanation of why log works as a "squasher" function.

    Wish he'd make more videos!

  • waiting for the next lecture... :)

  • very nice and simple explanation. I hope for more videos from you, thanks very much for this video

  • ty. waiting for your SVM video.

  • very nice explanation of tf-idf, thanks

  • This is one of the best video I have seen so far and clear and concise also . Can't wait for your SVM videos. Hope you post them soon. Cheers

  • Good pace and easy to understand. Thanks!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more