[SciPy-User] Some thing wrong in scipy reference
Ralf Gommers
ralf.gommers at googlemail.com
Sat Jul 21 04:02:10 EDT 2012
2012/7/21 王瑞期 <shahuwang at qq.com>
>
> http://docs.scipy.org/doc/scipy/reference/generated/scipy.cluster.vq.whiten.html#scipy.cluster.vq.whiten
>
> In the bottom of this page,the result of the whiten function is wrong.
>
You're right, the current output as documented is off by a constant factor:
>>> res = whiten(features)
>>> res * 3.41250074 / res[0, 0] # reproduce docstring output
array([[ 3.41250074, 2.20300046, 5.88897275],
[ 2.69407953, 2.39456571, 7.62102356],
[ 1.43684242, 0.57469577, 5.88897275]])
Does anyone know why, and is this result correct?
Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20120721/15994d30/attachment.html>
More information about the SciPy-User
mailing list