I have 32 on my machine tho..?
sorry I don't get how to use combinations to get what I want into a single array — and then the function has to accept the whole array?
-
-
unless I'm mistaken if I compute the array of combinations it'll take ages to get the value of arguments before getting to parallelisation.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
nop. In your case you actually need something like: results = mp.starmap(calculate_pairwise_distance, combinations(X,X)).
-
OK will keep trying — is this way equivalent to your way? Because sadly it's extremely slow: https://gist.github.com/jfsantos/8184653991558e30a9eab8613a6ea20f …
-
ah I think mp.starmap is python 3
sadly python3 is something I haven't got working with numpy
End of conversation
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.

