Class: Weka::Clusterer::EM::Base
- Inherits:
-
Weka::Clusterer::EM
- Object
- Weka::Clusterer::EM
- Weka::Clusterer::EM::Base
- Defined in:
- lib/ruby-band/weka/clusterers/clusterers.rb
Instance Method Summary collapse
-
#initialize(&block) ⇒ Base
constructor
A new instance of Base.
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.
31 32 33 34 35 36 37 38 |
# File 'lib/ruby-band/weka/clusterers/clusterers.rb', line 31 def initialize(&block) super if block_given? init_instance_clusterer(&block) else init_clusterer end end |