[SciPy-User] Get bandwidth from gaussian_kde
Pierre Barbier de Reuille
Wed Feb 20 02:55:38 CST 2013
Yes, it is possible. Or more precisely, it is possible to get the
covariance matrix with the 'covariance' attribute.
The bandwidth is simply the square root of the covariance ...
Barbier de Reuille Pierre
On 20 February 2013 09:10, email@example.com <
> Hi all,
> i have a question about gaussian_kde method.
> I use that method in this way:
> kernel = stats.kde.gaussian_kde(values)
> I think as write in the documentation "If None (default), ‘scott’ is used."
> the scott method is used as default.
> My question is: Is it possible to get the bandwidth value used ? I would
> to show this value in my script.
> SciPy-User mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User