Class: Weka::Classifier::Bayes::NaiveBayes::Base

Inherits:
Weka::Classifier::Bayes::NaiveBayes show all
Defined in:
lib/ruby-band/weka/classifiers/bayes/bayes.rb

Instance Method Summary collapse

Methods included from Bayes_utils

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

Constructor Details

#initialize(&block) ⇒ Base

Returns a new instance of Base.



17
18
19
20
21
22
23
24
# File 'lib/ruby-band/weka/classifiers/bayes/bayes.rb', line 17

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