Discriminant Analysis: Classifying Correlated Gaussian Clusters
Interactive 3D discriminant-analysis simulator: two correlated multivariate-Gaussian classes, live covariance ellipsoids, and the exact Bayes decision boundary — a plane under LDA, a curved quadric under QDA — with live classification accuracy.
Two multivariate-Gaussian classes float in 3D space, each with its own tunable covariance ellipsoid. This simulator computes the real Bayes discriminant function δk(x) = -½(x-μk)'Σk⁻¹(x-μk) - ½ln|Σk| + ln πk for every point and renders the exact decision surface where the two classes tie — a flat plane under Linear Discriminant Analysis' shared-covariance assumption, or a curved quadric surface under Quadratic Discriminant Analysis' per-class covariance. Drag the correlation sliders to reshape each class's covariance ellipsoid, pull the means apart, resample points, and watch live classification accuracy update as misclassified points light up red.
Two correlated multivariate-Gaussian classes with live covariance ellipsoids and the exact Bayes decision boundary — a flat plane under LDA's shared-covariance assumption, or a curved quadric under QDA's per-class covariance — with live classification accuracy.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install