@Test(expected = Test.None.class) public void testPima() throws IOException { System.out.println("pima"); FPTree tree = FPTree.of(20, () -> ItemSetTestData.read("transaction/pima.D38.N768.C2")); assertEquals(1803, FPGrowth.apply(tree).count()); }
public static Stream<ItemSet> apply(FPTree tree) { FPGrowth growth = new FPGrowth(tree); return StreamSupport.stream(growth.spliterator(), false); }
FPGrowth implements Iterable<ItemSet> { public static Stream<ItemSet> apply(FPTree tree) { FPGrowth growth = new FPGrowth(tree); return StreamSupport.stream(growth.spliterator(), false); } }
FPGrowth implements Iterable<ItemSet> { public static Stream<ItemSet> apply(FPTree tree) { FPGrowth growth = new FPGrowth(tree); return StreamSupport.stream(growth.spliterator(), false); } FPGrowth(FPTree tree); }
FPGrowth implements Iterable<ItemSet> { public static Stream<ItemSet> apply(FPTree tree) { FPGrowth growth = new FPGrowth(tree); return StreamSupport.stream(growth.spliterator(), false); } FPGrowth(FPTree tree); int size(); @Override Iterator<ItemSet> iterator(); static Stream<ItemSet> apply(FPTree tree); }
FPGrowth implements Iterable<ItemSet> { public static Stream<ItemSet> apply(FPTree tree) { FPGrowth growth = new FPGrowth(tree); return StreamSupport.stream(growth.spliterator(), false); } FPGrowth(FPTree tree); int size(); @Override Iterator<ItemSet> iterator(); static Stream<ItemSet> apply(FPTree tree);  }