Class: Weka::Classifier::Rules::Rule::Base

Inherits:
Weka::Classifier::Rules::Rule show all
Defined in:
lib/ruby-band/weka/classifiers/rules/rules.rb

Instance Method Summary collapse

Methods included from Rules_utils

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

Constructor Details

#initialize(&block) ⇒ Base

Returns a new instance of Base.



149
150
151
152
153
154
155
156
# File 'lib/ruby-band/weka/classifiers/rules/rules.rb', line 149

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