arefa29 / NLP-Sentiment-Analysis

Analyzing hotel reviews and performing sentiment analysis using Natural Language Processing. Pipeline used = TF-IDF + Logistic regression

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NLP-Sentiment-Analysis

Analyzing hotel reviews and performing sentiment analysis using Natural Language Processing.

Pipeline:

  1. TF-IDF vectorizer

Term frequency-inverse document frequency is the text vectorizer used that transforms the text into a usable vector.

  1. Logistic Regression Classifier

Logistic regression, a supervised learning classification algorithm, is used to predict the probability of the target variable. Here we use binomial logistic regression to predict whether review is 'happy' or 'unhappy'.

About

Analyzing hotel reviews and performing sentiment analysis using Natural Language Processing. Pipeline used = TF-IDF + Logistic regression


Languages

Language:Jupyter Notebook 100.0%