Method: Bayes_utils#init_classifier

Defined in:
lib/bio-band/weka/classifiers/bayes/bayes_utils.rb

#init_classifierObject



7
8
9
10
11
# File 'lib/bio-band/weka/classifiers/bayes/bayes_utils.rb', line 7

def init_classifier
  set_options(self.class.options) if self.class.options 
  self.class.data.setClassIndex(self.class.class_index) if self.class.class_index
  buildClassifier(self.class.data)
end