PROJECT / 01

AI-Powered Customer Support Ticket Prioritization System

A production-style ML system for prioritizing customer support tickets from labelled support-ticket data. The system combines TF-IDF with Logistic Regression, exposes the model through FastAPI, and ships as a Dockerized service to AWS EC2 through GitHub Actions.

SYSTEM PATH
01DATA
02MODEL
03EVAL
04API
05CONTAINER
06CI/CD
07CLOUD
84%classification accuracyunseen test data
100%high-priority precisionzero false urgent alerts
170+labelled ticketstraining data
7+API endpointsFastAPI service

01 — SYSTEM ARCHITECTURE

How the pieces connect.

The case study keeps architecture data-driven too. Each project can describe a different system path without changing the renderer.

01

170+ labelled support tickets

02

TF-IDF vectorization

03

Logistic Regression classifier

04

FastAPI · 7+ endpoints

05

Docker image

06

GitHub Actions → Docker Hub → AWS EC2

02 — PROBLEM

Problem

Support queues need a consistent way to distinguish urgent tickets from lower-priority work without relying on manual routing alone.

03 — APPROACH

Solution

Train a TF-IDF + Logistic Regression classifier and expose it through a REST API. Low-confidence predictions are flagged for human review, while confidence scoring makes the decision boundary visible to downstream consumers.

04 — RESULTS

Results

The system reached 84% classification accuracy on unseen test data and 100% precision on high-priority tickets, with deployment automated from GitHub through Docker Hub to AWS EC2.

05 — IMPLEMENTATION

Built for the path to deployment.

01

Text features are generated with TF-IDF and passed to Logistic Regression.

02

The FastAPI layer exposes the model through 7+ REST endpoints, including confidence scoring and human-review flagging.

03

The service is containerized with Docker and published to Docker Hub.

04

GitHub Actions automates the push → build → Docker Hub → EC2 deployment path.

06 — STACK & DEPLOYMENT

PythonFastAPIScikit-learnTF-IDFLogistic RegressionDockerDocker HubGitHub ActionsAWS EC2

Docker + Docker Hub + GitHub Actions (CI/CD) + AWS EC2

Back to work