Kernel functions for kernel density estimation and kernel regression #993
Labels
idea
Proposition of an idea and opening an issue to discuss it
topic: mathematics
linear algebra, sparse matrices, special functions, FFT, random numbers, statistics, ...
Uh oh!
There was an error while loading. Please reload this page.
Kernel functions that are symmetric and integrate to 1, such as the Gaussian, are used in kernel density estimation, kernel regression, and other statistical algorithms https://en.wikipedia.org/wiki/Kernel_(statistics). The code below implements kernel functions from the Wikipedia article. They could be added to stdlib. An argument for not adding them to stdlib is that they are simple to code oneself, but if stdlib does add nonparametric statistical methods, the kernel functions should be defined in one place. In some cases the kernel functions are derivatives of known neural network activation functions, which have been added to stdlib.
The text was updated successfully, but these errors were encountered: