Mahalanobis Distance: Cut-off Ellipse and Masked Outliers (2D)
A correlated point cloud with the cut-off ellipse of the chosen estimate, outliers in red and false alarms in orange, beside the sorted squared distances. Same shared model and checks as the 3D page.
K-means will happily split your data into any K you ask for — this simulator shows why picking that K is a real question with a real answer. It draws a hidden mixture of Gaussian blobs, runs Lloyd's algorithm live in 3D, and raises a colored bar over every point whose height and color encode its silhouette coefficient: how much closer it sits to its own cluster than to its nearest rival. Sweep K from 2 to 8 and the panel plots the average silhouette for each value, exposing the peak that marks the number of clusters the data actually supports — the same diagnostic scikit-learn's silhouette_score is built on, and a sharper tool than watching inertia fall on an elbow plot.
A correlated point cloud with the cut-off ellipse of the chosen estimate, outliers in red and false alarms in orange, beside the sorted squared distances. Same shared model and checks as the 3D page.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install