Class: Weka::Clusterer::XMeans::Base
- Inherits:
-
Weka::Clusterer::XMeans
- Object
- Weka::Clusterer::XMeans
- Weka::Clusterer::XMeans::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.
87 88 89 90 91 92 93 94 |
# File 'lib/ruby-band/weka/clusterers/clusterers.rb', line 87 def initialize(&block) super if block_given? init_instance_clusterer(&block) else init_clusterer end end |