[SciPy-user] stats.gaussian_kde prevent oversmoothing

josef.pktd@gmai... josef.pktd@gmai...
Sat Jan 3 23:00:19 CST 2009

I was working on an example for stats.gaussian_kde.

In one example I have a 1 dimensional mixture of normal distribution,
and the estimated distribution stats.gaussian_kde is too smooth, the
peaks are to small compared to the original distribution.

What's the easiest way to reduce the bandwidth for stats.gaussian_kde?
I didn't find any direct option. Is subclassing the only way?


More information about the SciPy-user mailing list