Skip to content

siddh30/Twitter-Sentiment-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Sentiment Analysis

Pusblished code on Kaggle: https://www.kaggle.com/code/siddharthmandgi/twitter-sentiment-analysis/notebook

Project Overview

In this project we understand and predicting Tweet Sentiments across various entities (topics) such as tech, gaming and social media. These Sentiments are categorized as 'Positive, 'Negative', 'Neutral' or 'Irrelevant'.

Step 1: Data

This is a Kaggle dataset (https://www.kaggle.com/datasets/jp797498e/twitter-entity-sentiment-analysis) with two files training.csv and validation.csv Features :- Entity, Tweet ID, Tweet and Sentiment.

Step 2: EDA

Discovered Insights such as:

  1. What is the most common sentiment across all tweets?
    • Most Tweets are of Negative Sentiment. Positve and Neutral Tweets closely follow.

submission

  1. What are the most commonly tweeted topics?

    • Most Tweets revolve arround Gaming, Tech and Social Media in this Dataset

    submission

  2. Ten Most commonly talked about topics and their overall sentiment?

    submission

Step 3: Modeling

Used a Sentence Transformer with a Random Forest Classification Head to classify sentiments

submission

Step 4: Model Expainability

Used Lime a Model Agnostic Explainer to explain word level impact on different classes of the model

submission

submission

submission

About

Twitter Sentiment Analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published