Skip to content

Commit 875c4aa

Browse files
committed
Fix machine_learning/frequent_pattern_growth.py
1 parent 1466d76 commit 875c4aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

machine_learning/frequent_pattern_growth.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def ascend_tree(leaf_node: TreeNode, prefix_path: list[str]) -> None:
239239
ascend_tree(leaf_node.parent, prefix_path)
240240

241241

242-
def find_prefix_path(base_pat: frozenset, tree_node: TreeNode | None) -> dict:
242+
def find_prefix_path(base_pat: frozenset, tree_node: TreeNode | None) -> dict: # noqa: ARG001
243243
"""
244244
Find the conditional pattern base for a given base pattern.
245245
@@ -276,7 +276,7 @@ def find_prefix_path(base_pat: frozenset, tree_node: TreeNode | None) -> dict:
276276

277277

278278
def mine_tree(
279-
in_tree: TreeNode,
279+
in_tree: TreeNode, # noqa: ARG001
280280
header_table: dict,
281281
min_sup: int,
282282
pre_fix: set,

0 commit comments

Comments
 (0)