Class Ai4r::Clusterers::BisectingKMeans
In: lib/ai4r/clusterers/bisecting_k_means.rb
Parent: KMeans

The Bisecting k-means algorithm is a variation of the "k-means" algorithm, somewhat less sensible to the initial election of centroids than the original.

More about K Means algorithm: en.wikipedia.org/wiki/K-means_algorithm

Methods

Attributes

centroids  [R] 
clusters  [R] 
data_set  [R] 
distance_function  [RW] 
max_iterations  [RW] 
number_of_clusters  [R] 
refine  [RW] 

Public Instance methods

Build a new clusterer, using data examples found in data_set. Items will be clustered in "number_of_clusters" different clusters.

Protected Instance methods

[Validate]