Skip to content

IvayloP0709/Twitter-Sentiment-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐦 Twitter Sentiment Analysis

A natural language processing project that classifies tweet sentiment using the Naive Bayes algorithm.

Python Jupyter NLP

πŸ“‹ Overview

This project analyzes Twitter data to classify sentiment (positive, negative, neutral) using machine learning. The implementation uses the Naive Bayes classifier and evaluates model performance through accuracy metrics.

πŸ—οΈ Project Structure

β”œβ”€β”€ Group Project (1)m.ipynb       # Main notebook with code and analysis
β”œβ”€β”€ _Assignment3_Team1_Report.pdf   # Detailed report and analysis
└── README.md

πŸ“Š Approach

  • Algorithm: Naive Bayes classifier
  • Task: Sentiment classification from tweet text
  • Evaluation: Accuracy-based performance metrics

πŸš€ Getting Started

Prerequisites

pip install pandas numpy scikit-learn nltk

Usage

  1. Open the Jupyter notebook Group Project (1)m.ipynb
  2. Ensure your dataset is loaded (or update the data path)
  3. Run all cells to preprocess, train, and evaluate the model

πŸ“ˆ Results

The notebook includes:

  • Data preprocessing and text cleaning
  • Naive Bayes model training
  • Accuracy evaluation and metrics
  • Sentiment classification examples

For detailed methodology, analysis, and findings, refer to the PDF report.

πŸ‘₯ Team

Assignment 3 – Team 1

πŸ“„ License

This project is available for educational purposes.


⭐ If you find this project useful, please consider giving it a star!

About

Real-time sentiment analysis tool for Twitter data. Processes and classifies tweet sentiment using NLP techniques to extract insights from social media conversations and trending topics.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors