Gaussian and Nearest Mean Classifiers

Estimating probability of Classification error for Gaussian and Nearest Mean Classifiers
5.6K Downloads
Updated 29 Nov 2004

No License

This M-file focuses on a 3-class pattern classification problem. It generates hundred random samples for each pattern class using given parameters for the class-conditional densities. Further the Gaussian classifier is implemented to classify test samples of each class using equal prior class probabilities and specified probabilities. Also the nearest mean classifier is implemented to classify the test samples of each class using equal prior class probabilities. The probability of classification error is estimated for each case. See M-File for details.

Cite As

Himanshu Ray (2026). Gaussian and Nearest Mean Classifiers (https://www.mathworks.com/matlabcentral/fileexchange/6320-gaussian-and-nearest-mean-classifiers), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0

(1)Change special characters in M-file