Skip to content

vbvyas/kmeans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

K means

A simple Ruby implementation of the K means algorithm.

Usage

points = [{x: 1, y: 2}, {x: 2, y: 3}, {x: 4, y: 5}]
k = 2
iterations = 5
clusters = kmeans(points, k, iterations)

About

Simple Ruby implementation of K-means algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages