Skip to content

Commit d092ffa

Browse files
Update frequent_pattern_growth.py
Update doctest
1 parent 190c6f6 commit d092ffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

machine_learning/frequent_pattern_growth.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def find_prefix_path(tree_node: TreeNode | None) -> dict:
262262
>>> len(header_table)
263263
4
264264
>>> base_pattern = frozenset(['A'])
265-
>>> sorted(find_prefix_path(base_pattern, fp_tree.children['A']))
265+
>>> sorted(find_prefix_path(fp_tree.children['A']))
266266
[]
267267
"""
268268
cond_pats: dict = {}

0 commit comments

Comments
 (0)