For this project, we generate a dataset for three classes each with 500 samples from three Gaussian distribution described below:
Use generated data and estimate the density without pre-assuming a model for the distribution which is done by a non-parametric estimation. Implement the Histogram PDF estimation methods using h=0.09,0.3,0.6. Estimate P(X) and Plot the true and estimated PDF.
It is clear that as 'h' is larger, the histogram becomes more general and we lose details, and as 'h' is smaller, some bins may be empty and discontinuous.