AutoSense-Demo / README.md
Bmoussaouali
Deploy AutoSense anomaly detection app
5a3b83f
|
Raw History Blame Contribute Delete
1.26 kB
metadata
title: AutoSense Engine Anomaly Detection
emoji: 🚗
colorFrom: green
colorTo: blue
sdk: docker
app_port: 7860
pinned: false

AutoSense - Engine Anomaly Detection

Interactive Dash dashboard that detects engine sensor anomalies using an autoencoder trained only on healthy driving data from a Seat Leon OBD-II log.

Run locally

pip install -r requirements.txt
python app.py

Then open http://localhost:7860

Run with Docker

docker build -t autosense .
docker run -p 7860:7860 autosense

Deploy to Hugging Face Spaces

Create a new Space with the Docker SDK and push this app/ folder. The Space serves on port 7860 automatically via the Dockerfile.

Pages

  • Overview - project summary and key numbers
  • The Problem - why anomaly detection needs ML, not rules
  • The Data - sensor reference, correlations, injected faults
  • Model Comparison - statistical baseline vs Isolation Forest vs autoencoder
  • Anomaly Engine - interactive sensor sliders with live anomaly verdict

Model artifacts (produced by notebook 3)

  • models/autoencoder_model.keras - 168-parameter autoencoder
  • models/scaler.pkl - MinMaxScaler fitted on healthy data
  • models/metadata.json - threshold, feature order, sensor ranges