A ruby library for performing simple hierarchical clustering of spatial data.
Ruby JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
examples
lib
log
script
spec
tasks
website
History.txt
License.txt
Manifest.txt
README.txt
Rakefile
setup.rb

README.txt

= Hierclust

A simple hierarchical clustering library for spatial data.

== Example

  require 'hierclust'
  points = (1..6).map { Hierclust::Point.new(rand(10), rand(10)) }
  clusterer = Hierclust::Clusterer.new(points)
  puts clusterer.clusters => [[[(4, 9), (4, 8)], (9, 6)], [[(1, 4), (3, 1)], (6, 3)]]

== Contact

Brandt Kurowski <brandt@kurowski.net>