I need a simple Kernel Density Estimation with fixed bandwidth and Gaussian kernel.
Alas, in scipy.stats.gaussian_kde I saw only an automatic bandwidth selection. The set_bandwidth method, as far as I see, only multiplies the auto-selected values with some correcting ratios. And I just need to set the bandwidth I want to set.
I don't want to use my hand-written Python code for KDE: it works a bit too slow.
Don't you know any replacements of scipy.stats.gaussian_kde?
In scipy.stats.gaussian_kde, you can supply a scalar to the
bw_methodoption. This will set thekde.factorvariable.kde.factoris a number by which the covariance matrix is multiplied, so it should be the same as the bandwidth.