Module: FpGrowth::Miner
- Defined in:
- lib/fpgrowth/miner.rb,
lib/fpgrowth/miner/pattern.rb,
lib/fpgrowth/miner/pattern_base_extractor.rb,
lib/fpgrowth/miner/conditional_tree_builder.rb
Defined Under Namespace
Classes: ConditionalTreeBuilder, Miner, Pattern, PatternBaseExtractor
Class Method Summary collapse
- .build_conditional_tree(tree = FpTree.new, item) ⇒ Object
- .fp_growth(fp_tree) ⇒ Object
- .td_fp_growth(fp_tree) ⇒ Object
Class Method Details
.build_conditional_tree(tree = FpTree.new, item) ⇒ Object
8 9 10 |
# File 'lib/fpgrowth/miner.rb', line 8 def self.build_conditional_tree(tree=FpTree.new, item) Miner.new().build_conditional_tree(tree, item) end |