Refactored Apriori implementation with correct pruning and candidate … #12859
Annotations
6 errors
ruff
Process completed with exit code 1.
|
Ruff (C414):
machine_learning/apriori_algorithm.py#L82
machine_learning/apriori_algorithm.py:82:13: C414 Unnecessary `list()` call within `sorted()`
|
Ruff (E501):
machine_learning/apriori_algorithm.py#L60
machine_learning/apriori_algorithm.py:60:89: E501 Line too long (91 > 88)
|
Ruff (C401):
machine_learning/apriori_algorithm.py#L40
machine_learning/apriori_algorithm.py:40:26: C401 Unnecessary generator (rewrite as a set comprehension)
|
Ruff (E501):
machine_learning/apriori_algorithm.py#L32
machine_learning/apriori_algorithm.py:32:89: E501 Line too long (96 > 88)
|
Ruff (I001):
machine_learning/apriori_algorithm.py#L14
machine_learning/apriori_algorithm.py:14:1: I001 Import block is un-sorted or un-formatted
|