What is density estimation in ML?
Density estimation is the unsupervised task of estimating the underlying probability density function (PDF) of a dataset from observed samples. Parametric approaches fit fixed-form distributions such as Gaussians or Gaussian Mixture Models, whereas non-parametric methods such as histograms and Kernel Density Estimation infer smooth densities directly from local sample concentrations. It underpins anomaly detection, Bayesian inference, and probabilistic generative modeling.