Module: FpGrowth::FpTree

Defined in:
lib/fpgrowth/fp_tree.rb,
lib/fpgrowth/fp_tree/node.rb,
lib/fpgrowth/fp_tree/builder.rb,
lib/fpgrowth/fp_tree/header_table.rb,
lib/fpgrowth/fp_tree/bonzai_secateur.rb,
lib/fpgrowth/fp_tree/builder/first_pass.rb,
lib/fpgrowth/fp_tree/builder/second_pass.rb,
lib/fpgrowth/fp_tree/builder/header_table_builder.rb

Defined Under Namespace

Modules: Builder Classes: BonzaiSecateur, FpTree, HeaderTable, Node

Class Method Summary collapse

Class Method Details

.build(transactions, threshold = 1) ⇒ Object



12
13
14
# File 'lib/fpgrowth/fp_tree.rb', line 12

def self.build(transactions, threshold=1)
  Builder.build(transactions, threshold)
end