Skip to content

Production-style batch ML pipeline for manufacturing claims anomaly detection with drift checks (synthetic data).

Notifications You must be signed in to change notification settings

Charithareddt/manufacturing-anomaly-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manufacturing Claims Anomaly Detection (Batch + Drift)

This project demonstrates a production-style batch ML workflow for detecting anomalies in manufacturing-related data such as sales, claims, and equipment signals.
It includes: -- Feature engineering -- Anomaly detection model training (Isolation Forest) -- Batch inference (scheduled scoring) -- Simple drift detection using statistical distribution checks

Why this project

In manufacturing environments (e.g., motorboats, motorhomes, towables), abnormal patterns in claims or equipment signals can indicate quality issues or operational risks.
This repo simulates a realistic workflow used in enterprise settings where batch inference is preferred for cost and stability.

Data

The repo generates a synthetic dataset that mimics: -- Sales units -- Warranty claims -- Equipment temperature and line speed -- Product, plant, and region attributes
An incident window is injected to simulate a real anomaly spike.

Quickstart

python -m venv .venv
source .venv/bin/activate  # (Windows: .venv\Scripts\activate)
pip install -r requirements.txt

python src/generate_data.py
python src/train.py
python src/infer.py
python src/drift_check.py

About

Production-style batch ML pipeline for manufacturing claims anomaly detection with drift checks (synthetic data).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages