Skip to content

Latest commit

 

History

History

Natural Language Processing with Classification and Vector Spaces

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

NLP with Classification and Vector Spaces

Week 1:

Sentiment Analysis with Logistic Regression

Learn to extract features from text into numerical vectors, then build a binary classifier for tweets using a logistic regression!

Learning Objectives

Assignment 1:

Sentiment Analysis with Logistic Regression

Week 2

Sentiment Analysis with Naïve Bayes

Learn the theory behind Bayes' rule for conditional probabilities, then apply it toward building a Naive Bayes tweet classifier of your own!

Learning Objectives

  • Error analysis
  • Naive Bayes inference
  • Log likelihood
  • Laplacian smoothing
  • conditional probabilities
  • Bayes rule
  • Sentiment analysis
  • Vocabulary creation
  • Supervised learning

Assignment 2:

Sentiment Analysis with Naïve Bayes

Week 3

Vector Space Models

Vector space models capture semantic meaning and relationships between words. You'll learn how to create word vectors that capture dependencies between words, then visualize their relationships in two dimensions using PCA.

Learning Objectives

  • Covariance matrices
  • Dimensionality reduction
  • Principal component analysis
  • Cosine similarity
  • Euclidean distance
  • Co-occurrence matrices
  • Vector representations
  • Vector space models

Week 4

Learning Objectives

  • Gradient descent
  • Approximate nearest neighbors
  • Locality sensitive hashing
  • Hash functions
  • Hash tables
  • K nearest neighbors
  • Document search
  • Machine translation
  • Frobenius norm

Labs