Skip to content

ghfri-code/Bayesian-Classification-oneGaussianDistribution

Repository files navigation

Bayesian Classification

In this part you have two datasets. Each dataset contains two classes and each class generated from one Gaussian distribution. In this part you have to construct two Bayesian classifiers so as to classify both train and test data.

Plot the decision boundary and classification results:

alt text

Plot estimated PDFs (3D):

alt text

Plot estimated PDFs along with the decision boundary (2D):

alt text

Comparison of two datasets:

Due to the greater variance of the first dataset, the horizontal stretching of curves of the first dataset is less than that of the second dataset.