Applied Math & Computer Science Lab
Data Analysis, Optimization & Mathematical Modeling, Artificial Intelligence, Neural Net For Everyday Life Applications
Artificial Intelligence/Data Mining Links Webmaster Resources AMCSL Forum: Web Mining Submit Link Archive
Perl script for K_means clustering

K-means Clustering using Perl

  

  X          Y







# of clusters

  
K-Means Clustering online:
Copy/paste your numerical data in the textarea below
Numbers should be separated by space
Each data point represents one row
Number of columns or rows should be <=300

Any questions, requests please submit at Forum about Clustering

Number of clusters
Perl script is used to cluster N instances with dimension of M to k clusters (k-means algorithm). The demo on this page (left side) is using 9 points with dimension 2 (x and y). 0<=x<=25 0<=y<=25
Comments,questions, requests are welcome: AMCSL Forum

Perl Source Code for K-means Clustering, updated to include categorical type of variables, 11/2007
Perl Source Code for K-means Clustering


External Resources about Clustering
A Tutorial on Clustering Algorithms Tutorial includes K-means, Fuzzy C-means and other algorithms