[Scipy-tickets] [SciPy] #1181: gaussian_kde evaluate fails with integers

SciPy Trac scipy-tickets@scipy....
Fri May 28 12:59:43 CDT 2010

#1181: gaussian_kde evaluate fails with integers
 Reporter:  jakebiesinger                              |       Owner:  somebody
     Type:  defect                                     |      Status:  new     
 Priority:  normal                                     |   Milestone:  0.7.2   
Component:  scipy.stats                                |     Version:  0.7.0   
 Keywords:  gaussian_kde int kernel density estimator  |  

Comment(by josefpktd):

 evaluate uses the same dtype as the input

 result = zeros((m,), points.dtype)

 I don't see how this makes any sense, since the return of evaluate is a
 pdf, which should have most points between zero and one.

 From just a quick look, need to look closer.

Ticket URL: <http://projects.scipy.org/scipy/ticket/1181#comment:1>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list