Rephrasing the question...
25 Jun
2002
25 Jun
'02
2:01 p.m.
Thanks for the input on k-means clustering, but the main questionw as actully this... If I have the following: for i in xrange(k): w[i] = average(compress(C == i, V, 0)) ... can that be expressed without the Python for loop? (I.e. without using compress etc.) I want w[i] to be the average of the vectors in V[x] for which C[x] == i... -- Magnus Lie Hetland The Anygui Project http://hetland.org http://anygui.org
7948
Age (days ago)
7948
Last active (days ago)
0 comments
1 participants
participants (1)
-
Magnus Lie Hetland