Method: Elastic::Stats::NaiveBayes::Set#initialize

Defined in:
lib/elastic/stats/naive-bayes/set.rb

#initialize(index, type, category_field, subject_field) ⇒ Set

Returns a new instance of Set.



13
14
15
16
17
18
# File 'lib/elastic/stats/naive-bayes/set.rb', line 13

def initialize(index, type, category_field, subject_field)
  @index = index
  @type = type
  @category_field = category_field
  @subject_field = subject_field
end