Object
DataEntry stores the instance of the data entry the data is accessible via entries stores the class-column in the attribute klass and removes the column for the class-entry
# File lib/ai4r/classifiers/naive_bayes.rb, line 246 def initialize(attributes, klass) @klass = klass @entries = attributes end
wrapper method for the access to @entries
# File lib/ai4r/classifiers/naive_bayes.rb, line 252 def [](index) @entries[index] end
[Validate]
Generated with the Darkfish Rdoc Generator 2.