HomeAI & Machine LearningData Mining: Local Outlier Factor Explorer

Data Mining: Local Outlier Factor Explorer

Interactive 3D data mining lab: watch the Local Outlier Factor (LOF) algorithm score every point in a dataset by local density, click a point to inspect its k-nearest neighbours, and tune k and outlier injection live.

AI & Machine Learning3DModerate60 FPS📱 Mobile-adapted⇄ 2D version
data-mining ↗ Open standalone

This lab renders a synthetic dataset as a 3D point cloud — several dense clusters plus a handful of injected outliers — and runs the real Local Outlier Factor algorithm over it: for every point it finds the k nearest neighbours, computes a local reachability density from their reach-distances, and scores each point by how much sparser its neighbourhood is than its neighbours' neighbourhoods. Points are coloured by that score from blue (LOF ≈ 1, a normal point sitting in a neighbourhood as dense as its neighbours') through yellow to red (LOF far above 1, a genuine local outlier), the k slider changes how many neighbours define "local", the outlier-injection and cluster-spread sliders let you stress-test the algorithm against harder datasets, and clicking any point draws lines to its k-nearest neighbours while reporting its exact LOF score.

⚙ Under the hood

An interactive 3D data mining lab that runs the real Local Outlier Factor algorithm over a point cloud, coloring every point by how much sparser its local neighborhood is than its neighbors' neighborhoods.

data miningoutlier detectionLOFclusteringanomaly detectionmachine learning

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)