Skip to content

kalelc/cluster-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cluster Analysis with K-Means

Purpose

This project is an example implementation k-means in ruby with rmagick library to explain the distribution of elements in the clusters.

Description

k-means clustering is a method of vector quantization, originally from signal processing, that is popular for cluster analysis in data mining. k-means clustering aims to partition n observations into k clusters in which each observation belongs to the cluster with the nearest mean, serving as a prototype of the cluster.

Quick Start

To generate animation with clustered elements in clusters during iterations.

ruby test.rb

Example

Preview

Releases

No releases published

Packages

No packages published

Languages