Kernel Density Estimation
Kernel Density Estimation, KDE
Last updated
Was this helpful?
Kernel Density Estimation, KDE
Last updated
Was this helpful?
KDE is a useful non-parameteric estimation of a samples underlying distribution. Being non-parametric means that no assumptions about the samples distribution are made.
The KDE is generated by placing a kernel, e.g. a small Gaussian distribution, over each data point and then summing over all the kernels. Consider a sample below:
Where kernel
can be changed for different distributions to sum up for each data point and bandwidth
for different width of the kernel.
Using sklearn's a KDE can be estimated as: