Just run the classifiers.m
- Enter the number of samples to be generated.
- See the figure of samples.
Here is the result with samples number = 1000, class = 3 (hard code)
Use Bayesian classification rule to classify, the miss rate is :0.008
Use Euclidean Bayesian classification rule to classify, the miss rate is :0.018
Use Mahalanobis Bayesian classification rule to classify, the miss rate is :0.008
Use Mahalanobis KNN classification rule to classify, the miss rate is :0.336