Kernelsmoothingin
Kernel smoothing is a family of nonparametric methods used to estimate smooth functions from data by averaging nearby observations with weights assigned by a kernel function. The idea is to obtain a flexible fit without assuming a specific parametric form for the underlying relationship, making kernel smoothing suitable for estimating quantities such as probability densities and regression functions.
Two common manifestations are kernel density estimation (KDE) and kernel regression. KDE constructs a nonparametric estimate
A kernel is a nonnegative function that integrates to one and is typically symmetric around zero; examples
Limitations include sensitivity to dimensionality (the curse of dimensionality) and boundary effects for densities or regression