Skip to content

Commit 01756fd

Browse files
committed
fix: Indentation
Syntax tweak
1 parent 856e143 commit 01756fd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

niaarm/rule.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,13 @@ class Rule:
159159
leverage: difference between the frequency of antecedent and the consequent appearing together and the expected
160160
frequency of them appearing separately based on their individual support
161161
162-
:math:`leverage(X \implies Y) = support(X \implies Y) - (support(X) \times support(Y))`
162+
:math:`leverage(X \implies Y) = support(X \implies Y) - (support(X) \times support(Y))`
163163
164-
**Range:** :math: `[-1, 1]` (-1 reflects total negative association, 1 reflects perfect positive association
164+
**Range:** :math:`[-1, 1]` (-1 reflects total negative association, 1 reflects perfect positive association
165165
and 0 reflects independence)
166166
167-
**Reference:** Gregory Piatetsky-Shapiro. 1991. Discovery, Analysis, and Presentation of Strong Rules. In
168-
Knowledge Discovery in Databases, Gregory Piatetsky-Shapiro and William J. Frawley (Eds.). AAAI/MIT Press, 229–248.
167+
**Reference:** Gregory Piatetsky-Shapiro. 1991. Discovery, Analysis, and Presentation of Strong Rules. In
168+
Knowledge Discovery in Databases, Gregory Piatetsky-Shapiro and William J. Frawley (Eds.). AAAI/MIT Press, 229–248.
169169
"""
170170

171171
__slots__ = (

0 commit comments

Comments
 (0)