lib/ai4r/clusterers/complete_linkage.rb in ai4r-1.12 vs lib/ai4r/clusterers/complete_linkage.rb in ai4r-1.13

- old
+ new

@@ -13,11 +13,11 @@ module Ai4r module Clusterers # Implementation of a Hierarchical clusterer with complete linkage (Everitt # et al., 2001 ; Jain and Dubes, 1988 ; Sorensen, 1948 ). - # Hierarchical clusteres create one cluster per element, and then + # Hierarchical clusterer create one cluster per element, and then # progressively merge clusters, until the required number of clusters # is reached. # With complete linkage, the distance between two clusters is computed as # the maximum distance between elements of each cluster. # @@ -25,11 +25,11 @@ class CompleteLinkage < SingleLinkage parameters_info :distance_function => "Custom implementation of distance function. " + "It must be a closure receiving two data items and return the " + - "distance bewteen them. By default, this algorithm uses " + - "ecuclidean distance of numeric attributes to the power of 2." + "distance between them. By default, this algorithm uses " + + "euclidean distance of numeric attributes to the power of 2." # Build a new clusterer, using data examples found in data_set. # Items will be clustered in "number_of_clusters" different # clusters.