Coder Social home page Coder Social logo

labrijisaad / twitter-sentiment-analysis-with-python Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 1.0 11.4 MB

I aim in this project to analyze the sentiment of tweets provided from the Sentiment140 dataset by developing a machine learning sentiment analysis model involving the use of classifiers. The performance of these classifiers is then evaluated using accuracy and F1 scores.

Jupyter Notebook 100.00%
sentiment-analysis machine-learning nlp logistic-regression bernoulli-naive-bayes lemmatization stemming support-vector-machine tokenization sentiment140-dataset

twitter-sentiment-analysis-with-python's Introduction

Twitter Sentiment Analysis using Python ๐Ÿ and NLP ๐Ÿ“™

๐Ÿš€ Project Overview

Welcome to the Twitter Sentiment Analysis project! ๐ŸŒŸ Here, we dive into the captivating realm of Natural Language Processing (NLP) to analyze tweet sentiments using mighty machine learning techniques.

๐Ÿ“Š Dataset

Access the dataset here: Sentiment140 Dataset. ๐Ÿ“‚

๐Ÿ› ๏ธ Methodology

We wield the power of classifiers to craft an effective sentiment analysis model, evaluating their prowess with accuracy and F1 scores. ๐Ÿ”

Getting Started ๐Ÿ

Follow these simple steps to set up and start working on the project:

  1. Clone the Repository:

    git clone https://github.com/labrijisaad/Twitter-Sentiment-Analysis-with-Python.git
  2. Navigate to the Project Directory:

    cd Twitter-Sentiment-Analysis-with-Python
  3. Check Python Version: Ensure that you have Python 3.9 installed. You can find the required packages in the requirements.txt file.

  4. Create a Virtual Environment (recommended for project isolation):

    python3 -m venv venv
  5. Activate the Virtual Environment:

    • For macOS/Linux:

      source venv/bin/activate
    • For Windows:

      venv\Scripts\activate
  6. Install Dependencies from requirements.txt:

    pip install -r requirements.txt
  7. Download the Dataset: Download the dataset from Sentiment140 Dataset and place the CSV file in a newly created data directory within the project.

  8. Launch Jupyter Notebook: Start the Jupyter Notebook server:

    jupyter notebook

๐Ÿ™ Acknowledgments

This project was inspired by the helpful work of analyticsvidhya. ๐ŸŽฉ๐Ÿ™Œ

๐Ÿ“ž Contact

For any queries, suggestions, or virtual high-fives, feel free to reach out at [email protected]. ๐Ÿ“ฌ

twitter-sentiment-analysis-with-python's People

Contributors

labrijisaad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

polarisdhruv

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.