I think you are referring to association rules.
For an X â Y association rule, rule support is denoted by sup (X-> Y) and represents the number of transactions in which XUY is displayed divided by the total number of transactions.
trust is the number of transactions in which XUY is displayed divided by the number of transactions in which X appears.
elevator is defined as: rise (X â Y) = ((sup (XUY) / N) / (sup (X) / N * sup (Y) / N), where N is the number of transactions in the transaction database, sup (X âŠY) is the number of transactions containing X and Y, sup (X) is the number of transactions containing X sup (Y) is the number of transactions containing Y.
An example of elevator calculation can be checked in example 23 of the SPMF software:
http://www.philippe-fournier-viger.com/spmf/index.php?link=documentation.php#lift
source share