[SciPy-user] Fast Gauss Transform

David Huard david.huard at gmail.com
Wed Mar 22 10:39:13 CST 2006


While fiddling with new code to compute kde, I noticed that gaussian_kde has
an unexpected behavior for 1D arrays.

For instance :

x = rand(1000)
g = gaussian_kde(x)
g(z)

returns the same value no matter what z is. The problem disappears for
multidimensional data.  The dot product (self.inv_cov, diff) seems to be
causing the problem,  doing the product only for the first element of diff
and returning zeros for the rest. I guess this is not the intended behavior
for dot.

Cheers,
David







2006/3/21, John Hunter <jdhunter at ace.bsd.uchicago.edu>:
>
> >>>>> "Cournapeau" == Cournapeau David <cournape at atr.jp> writes:
>
>     Cournapeau> What is meant by fast gauss ?
>
> Google is your friend
>
> http://www.google.com/search?hl=en&q=gauss+transform&btnG=Google+Search
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.scipy.net/pipermail/scipy-user/attachments/20060322/7a2dd34a/attachment.htm


More information about the SciPy-user mailing list