¡@

Home 

python Programming Glossary: kmeanssample

Is it possible to specify your own distance function using Scikits.Learn K-Means Clustering?

http://stackoverflow.com/questions/5529625/is-it-possible-to-specify-your-own-distance-function-using-scikits-learn-k-means

any of the 20 odd metrics in scipy.spatial.distance # kmeanssample 2 pass first sample sqrt N from __future__ import division import.. each X its nearest centre ints N k distances N see also kmeanssample below class Kmeans below. if not issparse X X np.asanyarray.. def kmeanssample X k nsample 0 kwargs 2 pass kmeans fast for large N 1 kmeans..

Calculating the percentage of variance measure for k-means?

http://stackoverflow.com/questions/6645895/calculating-the-percentage-of-variance-measure-for-k-means

added to Denis's K means implementation centres xtoc dist kmeanssample points 2 nsample 2 delta kmdelta maxiter kmiter metric metric..