0%
Initializing_Engine
Loading 0%

Performance Tier

MrunalPortfolio

Patel2026

Projects

Home / Projects / Sentiment Analysis API

Sentiment Analysis API

Project Overview

Bidirectional LSTM trained to 85.3% validation accuracy on the IMDB 50K dataset, deployed as a RESTful FastAPI service (POST /predict, GET /health) with a live public Streamlit demo.

Project_Type

ML_API_SERVICE

Entry_Year

2025

Target_Platform

WEB_API

Primary_Role

ML_ENGINEER

Deployed_Technologies

PyTorchFastAPIBidirectional LSTMStreamlit

Color_Palette

Live Site
Sentiment Analysis APISentiment Analysis APISentiment Analysis APISentiment Analysis APISentiment Analysis APISentiment Analysis APISentiment Analysis APISentiment Analysis APISentiment Analysis APISentiment Analysis APISentiment Analysis APISentiment Analysis APISentiment Analysis APISentiment Analysis API

Project Walkthrough

A closer look at the finer details of this case study. Explore the core features, thoughtful design decisions, and interactive moments that shape the user experience.

[ Page_Index ]

  • 01 // The Challenge
  • 02 // Interactive Gallery
  • 03 // The Solution

01 // The Challenge

The Challenge

Most sentiment-analysis demos stop at a notebook accuracy score and never become something another service can actually call. The goal was to take a trained model all the way to a real, documented, publicly reachable API — with health checks, predictable latency, and a way for non-technical reviewers to try it without writing a single line of code.

Sentiment Analysis API — Streamlit demo landing screen

02 // Interactive Gallery

Sentiment Analysis API — Streamlit demo landing screen
Sentiment Analysis API — positive sentiment result with confidence breakdown
Sentiment Analysis API — negative sentiment result with confidence breakdown
Sentiment Analysis API — Streamlit demo landing screen
Sentiment Analysis API — positive sentiment result with confidence breakdown
Sentiment Analysis API — negative sentiment result with confidence breakdown

03 // The Solution

The Solution

Trained a bidirectional LSTM to 85.3% validation accuracy on the IMDB 50K dataset, then wrapped it in a FastAPI service with POST /predict and GET /health endpoints, deployed behind versioned, documented routes. A companion Streamlit app gives anyone a live, no-code way to type text in and see the model's confidence in real time.

Sentiment Analysis API — positive sentiment result with confidence breakdown

Key_Contributions

Trained and tuned a bidirectional LSTM to 85.3% validation accuracy on the IMDB 50K dataset, then wrapped it as a RESTful FastAPI service with health-check and prediction endpoints, plus a public Streamlit demo for live testing.

Next_Project

PDF RAG Chatbot

View Project View Project View Project View Project View Project View Project
1Home