Two classes and their decision boundaries
Training and test error

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

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.

Made with 🟠 Blender