Applied Math & Computer Science Lab
Data Analysis, Optimization & Mathematical Modeling, Artificial Intelligence, Neural Net For Everyday Life Applications
Text Analytics Techniques and Word EmbeddingsNEW Links Online Free Courses Archive
Perl script for Kmeans 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, comments please submit at Intelligent Online Tools Blog

You can also try clustering and other algorithms here: K means clustering and other machine learning algorithms

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


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

Data Mining: Concepts and Techniques, Second Edition (The Morgan Kaufmann Series in Data Management Systems)