[SciPy-user] what's wrong with radom.multivariate_normal

Gary pajer at iname.com
Thu Dec 15 08:52:56 CST 2005


Alan G Isaac wrote:

>On Thu, 15 Dec 2005, jaonary at free.fr apparently wrote: 
>  
>
>>data1 = random.multivariate_normal([0,0],[[0.5,0],[0,0.5]],[10]) 
>>Traceback (most recent call last): 
>>  File "<pyshell#9>", line 1, in -toplevel- 
>>    data1 = random.multivariate_normal([0,0],[[0.5,0],[0,0.5]],[10]) 
>>  File "mtrand.pyx", line 837, in mtrand.RandomState.multivariate_normal 
>>AttributeError: 'module' object has no attribute 'singular_value_decomposition' 
>>    
>>
>
>
>  
>
>>>>scipy.base.__version__
>>>>        
>>>>
>'0.8.4'
>  
>
>>>>data1 = scipy.random.multivariate_normal([0,0],[[0.5,0],[0,0.5]],[10])
>>>>data1
>>>>        
>>>>
>array([[ 0.24173896,  0.68537262],
>       [-0.75999958,  0.26496178],
>       [ 0.15525849, -0.61052565],
>       [-0.94612055, -0.98556872],
>       [-0.34111442,  0.86108778],
>       [ 1.09459551,  0.56298158],
>       [ 0.12430803, -0.42073144],
>       [-0.30572437, -0.6358559 ],
>       [-0.52274094,  0.00495374],
>       [-1.34852903, -0.96152263]])
>
>fwiw,
>Alan Isaac
>  
>
yet [WinXP, python2.3]

In [4]: scipy.random.multivariate_normal([0,0], [[0.5,0], [0,0.5]],[10])
---------------------------------------------------------------------------
exceptions.AttributeError                            Traceback (most 
recent call
 last)

C:\Documents and Settings\Gary\My Documents\<console>

C:\Documents and Settings\Gary\My Documents\mtrand.pyx in 
mtrand.RandomState.mul
tivariate_normal()

AttributeError: 'module' object has no attribute 
'singular_value_decomposition'

In [5]: scipy.base.__version__
Out[5]: '0.8.6.1666'

fwiw,
-gary

>_______________________________________________
>SciPy-user mailing list
>SciPy-user at scipy.net
>http://www.scipy.net/mailman/listinfo/scipy-user
>
>  
>




More information about the SciPy-user mailing list