Skip to content

lhthien09/Twitter_Sentiment_Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Twitter Sentiment Analysis

Project description:

This project aims to perform sentiment analysis on Twitter data using the Sentiment140 dataset, which consists of 1.6 million tweets extracted using the Twitter API. The tweets in this dataset have been annotated as either negative or positive sentiment based on their content. The objective of this project is to develop a model that can accurately classify the sentiment of a tweet as either positive or negative.

The end goal of this project is to build a sentiment analysis model that can accurately classify the sentiment of a tweet as either positive or negative. The model can be used to analyze the sentiment of Twitter data for various applications, such as brand monitoring and customer feedback analysis.

Dataset:

Sentiment140 dataset with 1.6m tweets. It contains the following 6 fields:

  • target: the polarity of the tweet (0 = negative, 2 = neutral, 4 = positive)
  • ids: The id of the tweet ( 2087)
  • date: the date of the tweet (Sat May 16 23:58:44 UTC 2009)
  • flag: The query (lyx). If there is no query, then this value is NO_QUERY.
  • user: the user that tweeted (robotickilldozr)
  • text: the text of the tweet (Lyx is cool)

Word Clouds for tweets:

Word cloud for positive tweets: alt text

Word cloud for negative tweets: alt text

Results:

The whole notebook with EDA, Preprocessing data & model building is detailed presented at: JupyterNote

Releases

No releases published

Packages

No packages published