Skip to content

RachidaTanassat/deeptweets

Repository files navigation

DeepTweets: Sports vs Politics Classifier

Overview

DeepTweets is a machine learning project focused on classifying tweets into two categories: sports and politics. The project leverages natural language processing (NLP) techniques and machine learning algorithms to predict whether a given tweet is related to sports or politics.

Installation

  1. Clone the repository:

    git clone https://github.com/RachidaTanassat/deeptweets.git
  2. Install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Navigate to the project directory:

    cd deeptweets
  2. Run the Streamlit app:

    streamlit run app.py
  3. Access the web interface by opening the provided URL in your web browser.

  4. Enter a tweet in the input field.

  5. Click the "Predict" button to get the sentiment analysis of the tweet.

Example Inputs

Sports:

"I'm excited to watch the football game tonight. Go team!"

Politics:

"The government's decision to increase taxes is disappointing and will negatively impact the economy."

Deployment

The project is deployed and accessible at: DeepTweets Web App

1 2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published