[SciPy-user] docstrings typo in cluster module

Vicent Mas (V+) vmas at carabos.com
Mon Jan 22 13:03:33 CST 2007


Hi,

Recently I've been using the cluster module. After reading the module 
docstrings I think there are a couple of typos in the vq method. It 
says

                            #   c0    c1    c2   c3		
                code_book = [[  1.,   2.,   3.,   4.],  #f0
                             [  1.,   2.,   3.,   4.],  #f1
                             [  1.,   2.,   3.,   4.]]) #f2

Outputs:
    code -- 1D array.
            If obs is a NxM array, then a length M array

but should say:

                            #   f0    f1    f2   f3
                code_book = [[  1.,   2.,   3.,   4.],  #c0
                             [  1.,   2.,   3.,   4.],  #c1
                             [  1.,   2.,   3.,   4.]]) #c2


Outputs:
    code -- 1D array.
            If obs is a NxM array, then a length N array



Please, let me know me if I'm wrong.

-- 
::

 \ /	Vicent Mas	http://www.carabos.com
 0;0	
/   \	Cárabos Coop.	Enjoy Data
V   V
 " "


More information about the SciPy-user mailing list