Your message dated Fri, 20 Apr 2012 07:32:47 +0000
with message-id <[email protected]>
and subject line Bug#648034: fixed in python-scipy 0.10.1+dfsg1-2
has caused the Debian Bug report #648034,
regarding python-scipy: Gaussian KDE on does not work on integer inputs
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
648034: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648034
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-scipy
Version: 0.7.2+dfsg1-1
Severity: normal
Applying scipy.stats.kde.gaussian_kde to a list of integers, e.g. [1,2,3,4,5],
is not same as applying it to a list of floats [1.0, 2.0, 3.0, 4.0, 5.0]. This
is quite surprising and should probably be fixed. The output for integers
appears to be always 0, although I did not test with very wide range of inputs.
This is probably a bug in the internals of gaussian_kde, since it probably
converts the input into a NumPy array without specifying the type, and then
does math on it expecting it to be an array of floats, whereas it will be an
array of some integral type if input is all-integral.
Converting input to floating point types manually allows one to work around
this issue.
Expected:
python -c 'import scipy.stats;l=[1,2,3,3,3,3,4,5];k=[1,2,3,4,5];print
scipy.stats.kde.gaussian_kde(l)(k) == scipy.stats.kde.gaussian_kde(map(float,
l))(k)' to print [True True True True True]
Actual:
python -c 'import scipy.stats;l=[1,2,3,3,3,3,4,5];k=[1,2,3,4,5];print
scipy.stats.kde.gaussian_kde(l)(k) == scipy.stats.kde.gaussian_kde(map(float,
l))(k)' prints [False False False False False]
-- System Information:
Debian Release: 6.0.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-scipy depends on:
ii libamd2.2.0 1:3.4.0-2 approximate minimum degree orderin
ii libblas3gf [libblas.so. 1.2-8 Basic Linear Algebra Reference imp
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.5-8 GCC support library
ii libgfortran3 4.4.5-8 Runtime library for GNU Fortran ap
ii liblapack3gf [liblapack 3.2.1-8 library of linear algebra routines
ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3
ii libumfpack5.4.0 1:3.4.0-2 sparse LU factorization library
ii python 2.6.6-3+squeeze6 interactive high-level object-orie
ii python-central 0.6.16+nmu1 register and build utility for Pyt
ii python-numpy 1:1.4.1-5 Numerical Python adds a fast array
Versions of packages python-scipy recommends:
ii g++ [c++-compiler] 4:4.4.5-1 The GNU C++ compiler
ii g++-4.4 [c++-compiler] 4.4.5-8 The GNU C++ compiler
Versions of packages python-scipy suggests:
pn python-profiler <none> (no description available)
-- debconf-show failed
--- End Message ---
--- Begin Message ---
Source: python-scipy
Source-Version: 0.10.1+dfsg1-2
We believe that the bug you reported is fixed in the latest version of
python-scipy, which is due to be installed in the Debian FTP archive:
python-scipy-dbg_0.10.1+dfsg1-2_amd64.deb
to main/p/python-scipy/python-scipy-dbg_0.10.1+dfsg1-2_amd64.deb
python-scipy_0.10.1+dfsg1-2.debian.tar.gz
to main/p/python-scipy/python-scipy_0.10.1+dfsg1-2.debian.tar.gz
python-scipy_0.10.1+dfsg1-2.dsc
to main/p/python-scipy/python-scipy_0.10.1+dfsg1-2.dsc
python-scipy_0.10.1+dfsg1-2_amd64.deb
to main/p/python-scipy/python-scipy_0.10.1+dfsg1-2_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Varun Hiremath <[email protected]> (supplier of updated python-scipy package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 20 Apr 2012 02:37:28 -0400
Source: python-scipy
Binary: python-scipy python-scipy-dbg
Architecture: source amd64
Version: 0.10.1+dfsg1-2
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team
<[email protected]>
Changed-By: Varun Hiremath <[email protected]>
Description:
python-scipy - scientific tools for Python
python-scipy-dbg - scientific tools for Python - debugging symbols
Closes: 648034 648036 651760 653948
Changes:
python-scipy (0.10.1+dfsg1-2) unstable; urgency=low
.
* debian/control:
- Recommends: python-imaging (Closes: #648036)
- Recommends: python-dev (Closes: #651760)
* debian/patches:
- Add kolmogorov.diff, thanks to Yaroslav Halchenko (Closes: #653948)
- Add kde.diff (Closes: #648034)
Checksums-Sha1:
b3219e46ba9a43e5e29a4cf13f9ba24d21e8a194 2452 python-scipy_0.10.1+dfsg1-2.dsc
795849bfecb35fc6dca9852a97791b8d7b14f507 10906
python-scipy_0.10.1+dfsg1-2.debian.tar.gz
2c5d6e599b8b859a473eddcd17ea53285a672e2a 11610694
python-scipy_0.10.1+dfsg1-2_amd64.deb
6a3e2759fae85251c7808b0a312e9da273a64291 26258410
python-scipy-dbg_0.10.1+dfsg1-2_amd64.deb
Checksums-Sha256:
6ad4488992bf16eb6bf3416c380b1f03820f8c966bcab32e89c6449cb852aafa 2452
python-scipy_0.10.1+dfsg1-2.dsc
bd7cd1120edbfbd138edd4ade7b975ad49cb302f48eead8f2630219fdeec5e47 10906
python-scipy_0.10.1+dfsg1-2.debian.tar.gz
8deb75883e81bf793a8f9337fc1b8b436eaf6869d8ff34b69143537eab3360ed 11610694
python-scipy_0.10.1+dfsg1-2_amd64.deb
d07f69b681768722b8cdd3525255dbd01eec697cdd831d6735f32b296c1ae39f 26258410
python-scipy-dbg_0.10.1+dfsg1-2_amd64.deb
Files:
18eea979acdbd1c584cab830283ccc53 2452 python extra
python-scipy_0.10.1+dfsg1-2.dsc
a5bd75415512fcbc9fc2a47ef49a026b 10906 python extra
python-scipy_0.10.1+dfsg1-2.debian.tar.gz
0a819f4505dbfcabc0105243d0c0ea99 11610694 python extra
python-scipy_0.10.1+dfsg1-2_amd64.deb
a404bc96a41ac322a0386be07df6cca0 26258410 debug extra
python-scipy-dbg_0.10.1+dfsg1-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCgAGBQJPkQxnAAoJEHA3PPEpDbnOvMkP/3Ezf3ibP6EHUaiwDjcD9c91
DkrolISHJGWjzneyM64b0Dr7joXUDiaFsC6bvk50AP2G5zaCQyqAXgEDp5SaZMPh
JaSXB20JianOltbi33FB+sB7eAHmcbq2OTCdAUlZpn6RJdqQfPCYalohsDXbkMJt
82jVZjs+K9giXP5fNEfinIk5I57EqAlzd1edf1IzHcMXHH+6MOyouuSBdVORo47W
6kiT5PInhhhCx0/40mX/BdsPSQ6dnla6cd+1+e8OMQvr3zyG4EdA3L65mRYA4Zac
klxFGAyFS0tnWC2O3VfkKSK/zZhnC7aKYBzIsDf2TSPYm5jefLoQRAdrteDVyd0E
86PSXuydtNh1ffZZYNQ1OAiOXqfFTytppaCcnWMoRvzq8MhhUgGT7OJLsyo5mkNL
I3CaY1wVH0NFCRiUjhT9lT9HkcIIBnsPdnvgmzjTHOLDB82uzAGcsh5UvhACFgHl
cEfahnQEQFwRJAGmvN31d+yIvFSPuQtkQTVNTauX9bUzkr0OLaQaI8wmp3HzgChj
gx3GCFWt5LPXWuKLCwVR8BJF0dtdGG6p0nuC/UG/HTBBa82RQYn32piJSObfvQG1
bzR+ndQC0iIg4WZ+b3s1EIMhX78K0svMUBzrmOi6eLG2EbPcpVTQCXGbfQTP7SKj
w0mUSkq3rbJpOTXK1k8u
=j3Hh
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team