Skip to content

This Machine Learning Model is designed to analyse the sentiment of your movie review and predict the sentiment as either Positive or Negative.

Notifications You must be signed in to change notification settings

Ashfinn/IMDB-Sentiment-Analysis

Repository files navigation

IMDB Sentiment Analysis 🎬

Python Streamlit scikit-learn Forks Stars

This Streamlit app predicts the sentiment (positive/negative) of your movie reviews using a pre-trained machine learning model.

Features

  • Text preprocessing (cleaning and stemming)
  • Sentiment prediction with a trained model
  • Web interface using Streamlit
  • Model training and evaluation in Jupyter Notebook

How It Works

  1. Preprocessing: Cleans and stems the review text.
  2. TF-IDF Vectorization: Converts the text into numerical features.
  3. Prediction: Predicts sentiment using the pre-trained model.

Files

  • app.py: Runs the Streamlit app.
  • model.pkl: Pre-trained sentiment analysis model.
  • tfidf_vectorizer.pkl: TF-IDF vectorizer.
  • notebook.ipynb: Model training and evaluation.
  • requirements.txt: Dependencies.

Contributing

Fork the repository and submit pull requests for new features or improvements.

About

This Machine Learning Model is designed to analyse the sentiment of your movie review and predict the sentiment as either Positive or Negative.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published