Class: Weka::Classifier::Functions::SMO::Base

Inherits:
Weka::Classifier::Functions::SMO 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.



94
95
96
97
98
99
100
101
# File 'lib/ruby-band/weka/classifiers/functions/functions.rb', line 94

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