Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

🚀 AI-Powered YouTube Sentiment Insight Chrome Extension

📌 Project Overview

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.


🎯 Features

  • 🔍 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)

🧠 Tech Stack

  • 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

🏗️ Project Structure

├── data/
│   ├── raw/
│   └── interim/
├── src/
├── flask_app/
├── mlartifacts/
├── dvc.yaml
├── params.yaml
├── Dockerfile
├── .github/workflows/
├── models/
└── README.md

🔄 Workflow

  1. User interacts with Chrome Extension
  2. Input is sent to Flask API
  3. API processes text using trained model
  4. Prediction is returned to extension
  5. Sentiment insight is displayed

⚙️ DVC Pipeline

  • Data Ingestion
  • Data Preprocessing
  • Model Training
  • Model Evaluation

📸 DVC Pipeline Screenshot:

image

📊 MLflow Tracking

MLflow is used for:

  • Logging parameters
  • Tracking metrics
  • Storing model artifacts

📸 MLflow UI Screenshot:

Screenshot 2026-06-14 091432

🖥️ Working Demo

📸 Chrome Extension Output:

Screenshot 2026-06-14 101614
Screenshot 2026-06-14 101402
Screenshot 2026-06-14 101414
Screenshot 2026-06-14 101427

🐳 Docker Setup

docker build -t sentiment-app .
docker run -p 5000:5000 sentiment-app

🚀 How to Run Locally

git 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

📈 Future Improvements

  • Deploy on AWS (EC2/S3)
  • Add real-time monitoring (Evidently AI)
  • Implement model retraining pipeline
  • Improve UI/UX of extension

⭐ Conclusion

This project demonstrates a complete MLOps pipeline integrated with a real-world application, enabling scalable and reproducible machine learning deployment.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages