You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: niaarm/rule.py
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -145,6 +145,16 @@ class Rule:
145
145
**Reference:** E. V. Altay and B. Alatas, "Sensitivity Analysis of MODENAR Method for Mining of Numeric Association
146
146
Rules," 2019 1st International Informatics and Software Engineering Conference (UBMYK), 2019, pp. 1-6,
147
147
doi: 10.1109/UBMYK48245.2019.8965539.
148
+
zhang: Zheng's metric measures the strength of association (positive or negative) between the antecedent and consequent, taking into account both their co-occurrence and non-co-occurrence.
149
+
150
+
:math:`zhang(X \implies Y) =
151
+
\frac{conf(X \implies Y) - conf(\neg X \implies Y)}{max\{conf(X \implies Y), conf(\neg X \implies Y)\}}`
152
+
153
+
**Range:** :math:`[-1, 1]` (-1 reflects total negative association, 1 reflects perfect positive association
154
+
and 0 reflects independence)
155
+
156
+
**Reference:** T. Zhang, “Association Rules,” in Knowledge Discovery and Data Mining. Current Issues and New
157
+
Applications, 2000, pp. 245–256. doi: 10.1007/3-540-45571-X_31.
0 commit comments