FYI it takes 25s on my laptop with EPD linked with Intel MKL
and not atlas.
Post by xinfan mengIt is strange that I can not reproduce the results now. I will try later.
BTW, when I tried to compute cosine distance for my matrix, I found
it too slow.
In [2]: import numpy as np
In [3]: data = np.random.randn(5000, 5000)
In [4]: data1 = np.random.randn(5000, 5000)
In [5]: np.dot(data, data1)
the dot operation took minutes, which is too slow for Intel(R) Xeon(R)
Do you think it is a problem caused by installing LAPACK and BLAS
instead of ATLAS ?
On Mon, Jan 17, 2011 at 5:34 PM, Gael Varoquaux
Post by Gael VaroquauxWhen I directly use this matrix, I get an error "ValueError: array
must not contain infs or NaNs". I figure it is because there are zeros
in matrix.
Could you please send a full trace back, so that I can see if what the
problem is exactly, and if I can make the code more robust.
So I add 1 to the matrix, but then I get "LinAlgError: 7-th leading
minor not positive definite".
Same thing here,
Cheers,
Gaël
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Scikit-learn-general mailing list
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
--
Best Wishes
--------------------------------------------
Meng Xinfan(蒙新泛)
Institute of Computational Linguistics
Department of Computer Science & Technology
School of Electronic Engineering & Computer Science
Peking University
Beijing, 100871
China
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Scikit-learn-general mailing list
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general