On Thu, Jan 26, 2012 at 12:40 AM, Paolo Losi <[email protected]> wrote:

> do you see any use case for which distance calculation is
> performed in an "outer" loop?

In my case, the pairwise matrix is an argument to the learning
algorithm and is computed once for all in the beginning. So, I really
want it do be as fast as possible. Also, I think the code I added is
reasonably easy to understand and maintain.

My intuition was also that the low-level blas functions would be
parallelized so I was surprised by the speed gain when using n_jobs.
(My blas and atlas are coming from the Ubuntu packages.)

Mathieu

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to