R: Re: Get bandwidth from gaussian_kde
Thanks Francesco ----Messaggio originale---- Da: pierre@barbierdereuille.net Data: 20/02/2013 9.55 A: "francescoboccacci@libero.it"<francescoboccacci@libero.it>, "SciPy Users List"<scipy-user@scipy.org> Ogg: Re: [SciPy-User] Get bandwidth from gaussian_kde 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, francescoboccacci@libero.it <francescoboccacci@libero.it> wrote: 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 like to show this value in my script. Thanks Francesco _______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user
participants (1)
-
francescoboccacci@libero.it