Enter the support of the union of itemsets X and Y and the support of itemset X into the calculator to determine the association rule.

Association Rule Formula

The following formula is used to calculate the association rule in a database.

AR = (S(X ∪ Y) / S(X))

Variables:

  • AR is the association rule
  • X is the itemset of product X
  • Y is the itemset of product Y
  • S(X ∪ Y) is the support of the union of itemsets X and Y S
  • (X) is the support of itemset X

To calculate the association rule, first determine the support of the union of itemsets X and Y, which represents the frequency of transactions containing both X and Y. Then, determine the support of itemset X, which represents the frequency of transactions containing X. Divide the support of the union of itemsets X and Y by the support of itemset X. The result is the association rule, which indicates the likelihood that Y is purchased when X is purchased.

What is an Association Rule?

Association Rule is a rule-based machine learning technique used for discovering interesting relations between variables in large databases. It is intended to identify strong rules discovered in databases using measures of interestingness, based on the concept of strong rules. This technique is commonly used in market basket analysis, where the goal is to find associations between different products purchased by customers.