Skip to content

πŸš€ End-to-end sentiment analysis web app using Python, NLTK, and scikit-learn. Includes advanced text preprocessing, multiple ML models (Logistic Regression, Naive Bayes, Decision Tree), and real-time prediction via Streamlit with a clean UI.

Notifications You must be signed in to change notification settings

prashant-guttedar/sentiment_analysis_project-using-NLP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 Sentiment Analysis Web App

An end-to-end Sentiment Analysis web application built using Python, scikit-learn, and Streamlit. This project covers the full machine learning pipeline: data preprocessing β†’ model training β†’ evaluation β†’ deployment β€” all wrapped in a clean, interactive web UI.

πŸš€ Live Demo

πŸ”— Click here to try the app
πŸ’» [View the code on GitHub] (https://github.com/prashant-guttedar/sentiment_analysis_project-using-NLP)


πŸ” Project Highlights

  • βœ… Built using Python, Pandas, scikit-learn, and Streamlit
  • πŸ”€ Advanced text preprocessing: handling contractions, lemmatization, stopwords optimization
  • 🧠 Multiple ML models implemented:
    • Logistic Regression
    • Multinomial Naive Bayes
    • Decision Tree
  • πŸ“ˆ Evaluation using accuracy, confusion matrix, and classification report
  • πŸ“¦ Model persisted using joblib and integrated with Streamlit app
  • 🌐 Fully deployed and accessible via browser (Streamlit Cloud)

🧰 Tech Stack

Area Tools / Libraries
Language Python
ML Models scikit-learn
Text Processing NLTK, re (regex), contractions
Vectorization CountVectorizer, TfidfVectorizer, Word2Vec
Web App Streamlit
Deployment Streamlit Cloud / GitHub Pages

πŸ§ͺ Model Training & Evaluation

  • Cleaned and tokenized movie review text
  • Compared multiple ML models
  • Selected best-performing model based on F1-score and overall accuracy
  • Saved model using joblib for reuse

πŸ–₯️ How to Run Locally

  1. Clone the repo: bash git clone https://github.com/prashant-gutteda/sentiment_analysis_project-using-NLP.git cd sentiment_analysis_project-using-NLP

    output screenshots

    Screenshot 2025-10-14 192447 Screenshot 2025-10-14 192427

About

πŸš€ End-to-end sentiment analysis web app using Python, NLTK, and scikit-learn. Includes advanced text preprocessing, multiple ML models (Logistic Regression, Naive Bayes, Decision Tree), and real-time prediction via Streamlit with a clean UI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages