Skip to content

Tejas-Indrale/NLP-Sentiment-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐦 Twitter Sentiment Analysis: Vaccination Tweets πŸ’‰ 🎯 Objective: Analyze sentiments in tweets related to vaccination using NLP and machine learning techniques.

πŸ“Š Data Overview: πŸ“‚ Dataset: Kaggle's vaccination tweets dataset with 11,020 tweets. πŸ”‘ Key Columns: text (tweet content), sentiment (Positive, Neutral, Negative). πŸ› οΈ Preprocessing: Removed URLs, mentions, hashtags, and punctuation. Tokenized and removed stopwords. Applied stemming.

πŸ“ˆ Sentiment Analysis: πŸ“ Polarity Calculation: Used TextBlob to determine the sentiment polarity. πŸ€– Classification: Logistic Regression model. πŸ“Š Test Accuracy: 84.64% πŸ” Best Parameters: C=10

πŸ“Š Visualization: Word clouds for positive, negative, and neutral tweets. Confusion matrix for model evaluation.

About

A project for analyzing Twitter sentiment using NLP. Data was sourced from Kaggle, preprocessed, and classified using machine learning models. The project visualizes sentiment trends through charts and is built with Python, NLTK, scikit-learn, and Flask.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors