File size: 1,256 Bytes
2ce673b
5a3b83f
 
 
 
2ce673b
5a3b83f
 
2ce673b
 
5a3b83f
2ce673b
5a3b83f
 
2ce673b
5a3b83f
2ce673b
5a3b83f
 
 
 
2ce673b
5a3b83f
2ce673b
5a3b83f
2ce673b
5a3b83f
 
 
 
2ce673b
5a3b83f
2ce673b
5a3b83f
 
2ce673b
5a3b83f
2ce673b
5a3b83f
 
 
 
 
2ce673b
5a3b83f
2ce673b
5a3b83f
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
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

```bash
pip install -r requirements.txt
python app.py
```

Then open http://localhost:7860

## Run with Docker

```bash
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