Class Ai4r::Clusterers::Clusterer
In: lib/ai4r/clusterers/clusterer.rb
Parent: Object

The purpose of this class is to define a common API for Clusterers. All methods in this class (other than eval) must be implemented in subclasses.

Methods

Included Modules

Ai4r::Data::Parameterizable

Public Instance methods

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

Classifies the given data item, returning the cluster it belongs to.

Protected Instance methods

Usefull as a defult distance function for clustering algorithms

[Validate]