Class: Weka::Classifier::Functions::Winnow::Base

Inherits:
Weka::Classifier::Functions::Winnow show all
Defined in:
lib/ruby-band/weka/classifiers/functions/functions.rb

Instance Method Summary collapse

Methods included from Functions_utils

#cross_validate, #description, included, #init_function, #init_instance_classifier, #list_options, #set_class_index, #set_data, #set_options

Constructor Details

#initialize(&block) ⇒ Base

Returns a new instance of Base.



164
165
166
167
168
169
170
171
# File 'lib/ruby-band/weka/classifiers/functions/functions.rb', line 164

def initialize(&block)
  super
  if block_given?
    init_instance_classifier(&block)
  else
    init_classifier  
  end
end