Class: Weka::Clusterer::SimpleKMeans::Base

Inherits:
Weka::Clusterer::SimpleKMeans show all
Defined in:
lib/ruby-band/weka/clusterers/clusterers.rb

Instance Method Summary collapse

Methods included from Clusterer_utils

#description, #evaluate, #get_centroids, included, #init_clusterer, #init_instance_clusterer, #list_capabilities, #list_options, #set_data, #set_options

Constructor Details

#initialize(&block) ⇒ Base

Returns a new instance of Base.


59
60
61
62
63
64
65
66
# File 'lib/ruby-band/weka/clusterers/clusterers.rb', line 59

def initialize(&block)
  super
  if block_given?
    init_instance_clusterer(&block)
  else
    init_clusterer  
  end
end