Class: Weka::Classifier::Bayes::BayesianLogisticRegression::Base

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



45
46
47
48
49
50
51
52
# File 'lib/ruby-band/weka/classifiers/bayes/bayes.rb', line 45

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