Top "K-means" questions

In statistics and data mining, k-means clustering is a method of cluster analysis which aims to partition n observations into k clusters in which each observation belongs to the cluster with the nearest mean (least squares).

How to compute distances between centroids and data matrix (for kmeans algorithm)

I am a student of clustering and R. In order to obtain a better grip of both I would like …

r matrix cluster-analysis distance k-means
How to print result of clustering in sklearn

I have a sparse matrix from scipy.sparse import * M = csr_matrix((data_np, (rows_np, columns_np))); then I'm …

python scikit-learn cluster-analysis k-means
Removing outliers from a k-mean cluster

I have number of smaller data sets, containing 10 XY coordinates each. I am using Matlab (R2012a)and k-means to …

matlab data-mining cluster-analysis k-means outliers
Where to find a reliable K-medoid(Not k-means) open source software/tool?

I am learning the K-medoids algorithm so I am sorry if I ask inappropriate questions. As I know,the K-medoids …

open-source cluster-analysis k-means
scikit-learn: Finding the features that contribute to each KMeans cluster

Say you have 10 features you are using to create 3 clusters. Is there a way to see the level of contribution …

python scikit-learn cluster-analysis k-means
k-means return value in R

I am using the kmeans() function in R and I was curious what is the difference between the totss and …

r k-means least-squares
Can I use K-means algorithm on a string?

I am working on a python project where I study RNA structure evolution (represented as a string for example: "(((...)))" where …

python algorithm cluster-analysis bioinformatics k-means
Python Clustering Algorithms

I've been looking around scipy and sklearn for clustering algorithms for a particular problem I have. I need some way …

cluster-analysis k-means dbscan
k-means clustering implementation in Javascript?

I'm in need for a Javascript implementation of the k-means clustering algorithm. I only have 1-dimensional data and rarely more …

javascript cluster-analysis k-means
NA in clustering functions (kmeans, pam, clara). How to associate clusters to original data?

I need to cluster some data and I tried kmeans, pam, and clara with R. The problem is that my …

r cluster-analysis k-means na missing-data