In supervised machine learning, you usually have an input X, which goes into your prediction function to get your Y^. You can then compare your prediction with the true value Y. This gives you your cost which you use to update the parameters θ.
Sentiment analysis (also known as opinion mining or emotion AI) refers to the use of natural language processing, text analysis, computational linguistics, and biometrics to systematically identify, extract, quantify, and study affective states and subjective information.
So, let's start sentiment analysis using Logistic Regression
We will be using the sample twitter data set for this exercise.
…
A Data Science and Software enthusiast currently working as an intern at Digital Olives under Data Science profile.