Home▸Machine Learning & Neural Networks▸Gaussian Discriminant Classifier: Decision Regions and Test Error (2D)

Gaussian Discriminant Classifier: Decision Regions and Test Error (2D)

The same two Gaussian classes seen from above: sample points, true covariance ellipses, shaded decision regions and the LDA, QDA and Bayes boundaries, with training and test error bars. Same shared model as the 3D scene, with Blender-rendered sample markers.

Machine Learning & Neural Networks2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Gaussian Discriminant Classifier: Decision Regions and Test Error (2D) ↗ Open standalone

Draw a training sample from two Gaussian classes and fit linear and quadratic discriminant analysis. Move the class means, covariances, priors and sample size and watch the decision boundary bend or straighten against the true Bayes boundary, with the exact test error integrated against the true densities. A Blender-built plinth, frame and sample markers hold the two density landscapes, with numerical checks built in.

⚙ Under the hood

The same two Gaussian classes seen from above: sample points, true covariance ellipses, shaded decision regions and the LDA, QDA and Bayes boundaries, with training and test error bars. Same shared model as the 3D scene, with Blender-rendered sample markers.

ClassificationDiscriminant AnalysisBayes ErrorDecision BoundaryLDA vs QDA

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)