Class: Weka::Classifier::Functions::SPegasos::Base

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



122
123
124
125
126
127
128
129
# File 'lib/ruby-band/weka/classifiers/functions/functions.rb', line 122

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