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).

plot a document tfidf 2D graph

I would like to plot a 2d graph with the x-axis as term and y-axis as TFIDF score (or document …

python numpy scipy scikit-learn k-means
Scikit-learn: How to run KMeans on a one-dimensional array?

I have an array of 13.876(13,876) values between 0 and 1. I would like to apply sklearn.cluster.KMeans to only this vector …

python scikit-learn data-mining k-means
Kmeans without knowing the number of clusters?

I am attempting to apply k-means on a set of high-dimensional data points (about 50 dimensions) and was wondering if there …

python machine-learning data-mining k-means
Can k-means clustering do classification?

I want to know whether the k-means clustering algorithm can do classification? If I have done a simple k-means clustering . …

algorithm cluster-analysis data-mining k-means
k-means empty cluster

I try to implement k-means as a homework assignment. My exercise sheet gives me following remark regarding empty centers: During …

k-means
Clustering geo location coordinates (lat,long pairs) using KMeans algorithm with Python

Using the following code to cluster geolocation coordinates results in 3 clusters: import numpy as np import matplotlib.pyplot as plt …

python numpy geolocation scipy k-means
Bisecting k-means clustering algorithm explanation

I was required to write a bisecting k-means algorithm, but I didnt understand the algorithm. I know k-means algorithm. Can …

algorithm cluster-analysis k-means
K-Means: Lloyd,Forgy,MacQueen,Hartigan-Wong

I'm working with the K-Means Algorithm in R and I want to figure out the differences of the 4 Algorithms Lloyd,…

r algorithm k-means
Weka simple K-means clustering assignments

I have what feels like a simple problem, but I can't seem to find an answer. I'm pretty new to …

cluster-analysis data-mining weka k-means
How to calculate BIC for k-means clustering in R

I've been using k-means to cluster my data in R but I'd like to be able to assess the fit …

r cluster-analysis k-means