← 🧠 Machine Learning

🧠 Autoencoder Lab

Show error vectors
Flagged as anomaly:
True anomalies caught:
False alarms:
Mean normal error:
FPS:
Drag — rotate · Scroll — zoom

🧠 Autoencoder Reconstruction Error Anomaly Detection Lab

An autoencoder trained only on normal data learns a smooth "normal" manifold; every point's distance from that manifold is its reconstruction error, and points scoring above a threshold get flagged as anomalies.

🔬 What It Demonstrates

The purple surface is the manifold the autoencoder has learned to reconstruct faithfully. Green points sit close to it (low error, normal); red points sit far away (high error, flagged). Raising latent bottleneck capacity too far lets the network start reconstructing anomalies too, quietly eroding detection power.

🎮 How to Use

Adjust anomaly rate, bottleneck size and the error threshold, and watch flagged/caught/false-alarm counts update live. Switch to density-based scoring to compare against nearest-neighbour methods like DBSCAN, LOF and One-Class SVM.

💡 Did You Know?

Reconstruction-error autoencoders need no labelled anomalies to train — just a clean sample of normal behaviour — which is why they're a go-to for fraud, sensor-fault and intrusion detection where true anomalies are rare and always changing.