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.
π Click here to try the app
π» [View the code on GitHub] (https://github.com/prashant-guttedar/sentiment_analysis_project-using-NLP)
- β 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)
| 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 |
- Cleaned and tokenized movie review text
- Compared multiple ML models
- Selected best-performing model based on F1-score and overall accuracy
- Saved model using
joblibfor reuse
-
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