This project is an end-to-end MLOps-based Machine Learning system integrated with a Chrome Extension that provides real-time sentiment insights on YouTube content.
The system uses a trained NLP model to analyze text (comments/titles) and classify sentiment (positive/negative), delivering instant insights directly in the browser.
- 🔍 Real-time sentiment analysis
- 🌐 Chrome Extension integration
- 🤖 Machine Learning model (TF-IDF + LightGBM)
- 📊 Experiment tracking using MLflow
- 🔁 Pipeline automation using DVC
- 🐳 Docker-based deployment
- ⚙️ CI/CD integration (GitHub Actions)
- Frontend: Chrome Extension (HTML, CSS, JavaScript)
- Backend: Flask (Python)
- Machine Learning: Scikit-learn, LightGBM, TF-IDF
- MLOps Tools: DVC, MLflow
- Deployment: Docker
- CI/CD: GitHub Actions
├── data/
│ ├── raw/
│ └── interim/
├── src/
├── flask_app/
├── mlartifacts/
├── dvc.yaml
├── params.yaml
├── Dockerfile
├── .github/workflows/
├── models/
└── README.md
- User interacts with Chrome Extension
- Input is sent to Flask API
- API processes text using trained model
- Prediction is returned to extension
- Sentiment insight is displayed
- Data Ingestion
- Data Preprocessing
- Model Training
- Model Evaluation
📸 DVC Pipeline Screenshot:
MLflow is used for:
- Logging parameters
- Tracking metrics
- Storing model artifacts
📸 MLflow UI Screenshot:
📸 Chrome Extension Output:
docker build -t sentiment-app .
docker run -p 5000:5000 sentiment-appgit clone https://github.com/Varad-7611/YouTube-Sentiment-Analyzer.git
cd YouTube-Sentiment-Analyzer
pip install -r requirements.txt
dvc repro
python flask_app/app.py- Deploy on AWS (EC2/S3)
- Add real-time monitoring (Evidently AI)
- Implement model retraining pipeline
- Improve UI/UX of extension
This project demonstrates a complete MLOps pipeline integrated with a real-world application, enabling scalable and reproducible machine learning deployment.