Class: Weka::Classifier::Bayes::ComplementNaiveBayes::Base

Inherits:
Weka::Classifier::Bayes::ComplementNaiveBayes 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.



59
60
61
62
63
64
65
66
# File 'lib/ruby-band/weka/classifiers/bayes/bayes.rb', line 59

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