NLP / MLOps
YouTube sentiment pipeline
From raw comments to a versioned LightGBM model and a serving API.
YouTube sentiment pipeline
Python / LightGBM / TF-IDFThe problem
Sentiment analysis needs reproducible data/model stages and a usable delivery surface, rather than a model that exists only in a notebook.
The implementation
DVC coordinates the stages; NLTK prepares text, TF-IDF creates features and LightGBM classifies positive, neutral and negative comments. Evaluation artifacts are logged with MLflow before the model is served through Flask.
What it delivers
A reproducible NLP pipeline with tracked experiments, model registration and API-driven visual analysis. No aggregate accuracy figure is asserted here.
Evaluation & scope
The model-evaluation stage produces accuracy, classification reports and confusion-matrix artifacts and logs them to MLflow.
Evaluation infrastructure is documented; no metric was inferred from the presence of that infrastructure.
Inspect the evidence
Full project overview
An end-to-end sentiment pipeline with DVC stages for ingestion, preprocessing, model building, evaluation and registration. TF-IDF features feed LightGBM; MLflow on EC2 tracks experiments and S3 stores artifacts. A Flask API exposes prediction, sentiment charts and word clouds.
VisaFlow
MLOps