Class: Reem::Clusterer

Inherits:
Object
  • Object
show all
Defined in:
lib/reem/clusterer.rb

Constant Summary collapse

TOLERANCE =
1E-6.freeze
MAX_ITERATIONS =
1000.freeze

Instance Method Summary collapse

Constructor Details

#initialize(k = 2, tolerance = TOLERANCE, max_iterations = MAX_ITERATIONS) ⇒ Clusterer

Returns a new instance of Clusterer.



6
7
8
# File 'lib/reem/clusterer.rb', line 6

def initialize(k = 2, tolerance = TOLERANCE, max_iterations = MAX_ITERATIONS)

end