test_class.declarator: log = LoggerFactory.getLogger(StreamingFPGrowthTest.class)
test_class.modifier: private static final
test_class.original_string: private static final Logger log = LoggerFactory.getLogger(StreamingFPGrowthTest.class);
test_class.type: Logger
test_class.var_name: log
test_class.file: legacy/src/test/java/macrobase/analysis/summary/itemset/FPGrowthTest.java
test_class.identifier: FPGrowthTest
test_case.body: @Test
      public void testFPFromPaper() {
          List<Set<Integer>> txns = new ArrayList<>();
          txns.add(intIfy("f, a, c, d, g, i, m, p"));
          txns.add(intIfy("a, b, c, f, l, m, o"));
          txns.add(intIfy("b, f, h, j, o"));
          txns.add(intIfy("b, c, k, s, p"));
          txns.add(intIfy("a, f, c, e, l, p, m, n"));
  
          FPGrowth fp = new FPGrowth();
  
          List<ItemsetWithCount> itemsets = fp.getItemsetsWithSupportRatio(txns, .6);
  
          //printItemsets(itemsets);
  
          assertEquals(18, itemsets.size());
      }
test_case.class_method_signature: FPGrowthTest.testFPFromPaper()
test_case.full_signature: @Test public void testFPFromPaper()
test_case.identifier: testFPFromPaper
test_case.invocations: add intIfy add intIfy add intIfy add intIfy add intIfy getItemsetsWithSupportRatio assertEquals size
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFPFromPaper()
focal_class.declarator: log = LoggerFactory.getLogger(FPGrowth.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(FPGrowth.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: singleItemCounts = MacroBase.metrics.timer(name(FPGrowth.class, "itemCounts"))
focal_class.modifier: private final
focal_class.original_string: private final Timer singleItemCounts = MacroBase.metrics.timer(name(FPGrowth.class, "itemCounts"));
focal_class.type: Timer
focal_class.var_name: singleItemCounts
focal_class.declarator: insertTransactions = MacroBase.metrics.timer(name(FPGrowth.class, "insertTransactions"))
focal_class.modifier: private final
focal_class.original_string: private final Timer insertTransactions = MacroBase.metrics.timer(name(FPGrowth.class, "insertTransactions"));
focal_class.type: Timer
focal_class.var_name: insertTransactions
focal_class.declarator: fpMine = MacroBase.metrics.timer(name(FPGrowth.class, "fpMine"))
focal_class.modifier: private final
focal_class.original_string: private final Timer fpMine = MacroBase.metrics.timer(name(FPGrowth.class, "fpMine"));
focal_class.type: Timer
focal_class.var_name: fpMine
focal_class.file: legacy/src/main/java/macrobase/analysis/summary/itemset/FPGrowth.java
focal_class.identifier: FPGrowth
focal_class.class_method_signature: FPGrowth.getItemsetsWithSupportRatio(List<Set<Integer>> transactions,
                                                                Double supportRatio)
focal_class.full_signature: public List<ItemsetWithCount> getItemsetsWithSupportRatio(List<Set<Integer>> transactions,
                                                                Double supportRatio)
focal_class.identifier: getItemsetsWithSupportRatio
focal_class.modifiers: public
focal_class.parameters: (List<Set<Integer>> transactions,
                                                                Double supportRatio)
focal_class.return: List<ItemsetWithCount>
focal_class.signature: List<ItemsetWithCount> getItemsetsWithSupportRatio(List<Set<Integer>> transactions,
                                                                Double supportRatio)
focal_class.class_method_signature: FPGrowth.getItemsetsWithSupportRatio(List<Set<Integer>> transactions,
                                                                Map<Integer, Double> initialCounts,
                                                                Double supportRatio)
focal_class.full_signature: public List<ItemsetWithCount> getItemsetsWithSupportRatio(List<Set<Integer>> transactions,
                                                                Map<Integer, Double> initialCounts,
                                                                Double supportRatio)
focal_class.identifier: getItemsetsWithSupportRatio
focal_class.modifiers: public
focal_class.parameters: (List<Set<Integer>> transactions,
                                                                Map<Integer, Double> initialCounts,
                                                                Double supportRatio)
focal_class.return: List<ItemsetWithCount>
focal_class.signature: List<ItemsetWithCount> getItemsetsWithSupportRatio(List<Set<Integer>> transactions,
                                                                Map<Integer, Double> initialCounts,
                                                                Double supportRatio)
focal_class.class_method_signature: FPGrowth.getItemsetsWithSupportCount(List<Set<Integer>> transactions,
                                                                Double supportCount)
focal_class.full_signature: public List<ItemsetWithCount> getItemsetsWithSupportCount(List<Set<Integer>> transactions,
                                                                Double supportCount)
focal_class.identifier: getItemsetsWithSupportCount
focal_class.modifiers: public
focal_class.parameters: (List<Set<Integer>> transactions,
                                                                Double supportCount)
focal_class.return: List<ItemsetWithCount>
focal_class.signature: List<ItemsetWithCount> getItemsetsWithSupportCount(List<Set<Integer>> transactions,
                                                                Double supportCount)
focal_class.class_method_signature: FPGrowth.getItemsetsWithSupportCount(List<Set<Integer>> transactions,
                                                                Map<Integer, Double> initialCounts,
                                                                Double supportCount)
focal_class.full_signature: public List<ItemsetWithCount> getItemsetsWithSupportCount(List<Set<Integer>> transactions,
                                                                Map<Integer, Double> initialCounts,
                                                                Double supportCount)
focal_class.identifier: getItemsetsWithSupportCount
focal_class.modifiers: public
focal_class.parameters: (List<Set<Integer>> transactions,
                                                                Map<Integer, Double> initialCounts,
                                                                Double supportCount)
focal_class.return: List<ItemsetWithCount>
focal_class.signature: List<ItemsetWithCount> getItemsetsWithSupportCount(List<Set<Integer>> transactions,
                                                                Map<Integer, Double> initialCounts,
                                                                Double supportCount)
focal_class.class_method_signature: FPGrowth.constructTree(List<Set<Integer>> transactions, int supportCount)
focal_class.full_signature: protected FPTree constructTree(List<Set<Integer>> transactions, int supportCount)
focal_class.identifier: constructTree
focal_class.modifiers: protected
focal_class.parameters: (List<Set<Integer>> transactions, int supportCount)
focal_class.return: FPTree
focal_class.signature: FPTree constructTree(List<Set<Integer>> transactions, int supportCount)
focal_class.class_method_signature: FPGrowth.getItemsetsWithSupportCount(List<Set<Integer>> transactions,
                                                                Map<Integer, Double> initialCounts,
                                                                Double supportCount,
                                                                boolean printTreeDebug)
focal_class.full_signature: public List<ItemsetWithCount> getItemsetsWithSupportCount(List<Set<Integer>> transactions,
                                                                Map<Integer, Double> initialCounts,
                                                                Double supportCount,
                                                                boolean printTreeDebug)
focal_class.identifier: getItemsetsWithSupportCount
focal_class.modifiers: public
focal_class.parameters: (List<Set<Integer>> transactions,
                                                                Map<Integer, Double> initialCounts,
                                                                Double supportCount,
                                                                boolean printTreeDebug)
focal_class.return: List<ItemsetWithCount>
focal_class.signature: List<ItemsetWithCount> getItemsetsWithSupportCount(List<Set<Integer>> transactions,
                                                                Map<Integer, Double> initialCounts,
                                                                Double supportCount,
                                                                boolean printTreeDebug)
focal_class.class_method_signature: FPGrowth.getCounts(
              List<Datum> transactions,
              Map<Integer, Double> initialCounts,
              Set<Integer> targetItems,
              List<ItemsetWithCount> toCount)
focal_class.full_signature: public List<ItemsetWithCount> getCounts(
              List<Datum> transactions,
              Map<Integer, Double> initialCounts,
              Set<Integer> targetItems,
              List<ItemsetWithCount> toCount)
focal_class.identifier: getCounts
focal_class.modifiers: public
focal_class.parameters: (
              List<Datum> transactions,
              Map<Integer, Double> initialCounts,
              Set<Integer> targetItems,
              List<ItemsetWithCount> toCount)
focal_class.return: List<ItemsetWithCount>
focal_class.signature: List<ItemsetWithCount> getCounts(
              List<Datum> transactions,
              Map<Integer, Double> initialCounts,
              Set<Integer> targetItems,
              List<ItemsetWithCount> toCount)
focal_method.body: public List<ItemsetWithCount> getItemsetsWithSupportRatio(List<Set<Integer>> transactions,
                                                                Double supportRatio) {
          return getItemsetsWithSupportRatio(transactions, null, supportRatio);
      }
focal_method.class_method_signature: FPGrowth.getItemsetsWithSupportRatio(List<Set<Integer>> transactions,
                                                                Double supportRatio)
focal_method.full_signature: public List<ItemsetWithCount> getItemsetsWithSupportRatio(List<Set<Integer>> transactions,
                                                                Double supportRatio)
focal_method.identifier: getItemsetsWithSupportRatio
focal_method.invocations: getItemsetsWithSupportRatio
focal_method.modifiers: public
focal_method.parameters: (List<Set<Integer>> transactions,
                                                                Double supportRatio)
focal_method.return: List<ItemsetWithCount>
focal_method.signature: List<ItemsetWithCount> getItemsetsWithSupportRatio(List<Set<Integer>> transactions,
                                                                Double supportRatio)