Natural Language Processing - Week 1
Sentiment Analysis with Logistic Regression
Lecture: Logistic Regression
Supervised ML & Sentiment Analysis

- repeat until minimize the cost




Negative and Positive Frequencies







Preprocessing



Putting it All Together




Logistic Regression Overview

- dot product greater or equal than zero = positive
- dot product less than zero = negative

- use logistic regression to train a weight factor θ
Logistic Regression: Training
- find θ parameter that minimize cost function


Logistic Regression: Testing

- building predictions vector


Logistic Regression: Cost Function




