you did not choose how many workers you want for the pool! If I'm not mistaken it defaults to one, so it will be slower than single proc
-
-
I tried to do it and failed miserably as many of the points were not being calculated in the pairs.
- 2 more replies
New conversation -
-
-
Several ways, but the easiest would be to use numpy.split (https://docs.scipy.org/doc/numpy/reference/generated/numpy.split.html …) to slice X, then iterate over the sliced matrix.
-
I tried it that way and failed miserably. I guess I should think again. I think because I spent all day on this I should probably stop...
-
I couldn't get my head around it and I guess I've exhausted myself now.

-
Yes, the slicing way is actually really tricky. I forgot pdist computes pairwise distances between ALL samples.
-
yeah this is where I fell down

-
Just realized you can probably use itertools.product to get all the combinations, slice the combination matrix, and do as I suggested!
-
I'll try that too tomorrow! Nice idea!

-
If you know of a working example I could base this off I would love a to see and be indebted. I've also thought of some more ideas to try.

- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
