It is defined as the number of times the event has occurred. There are two types of support:
Absolute Support
Relative Support
Relative support gives the total number of occurrences with respect to the total transactions i.e. the probability of an item occurring.
Support(A => B) = P(A ∪ B)
Eg: Consider this table through which support will be illustrated.
For example, if Eggs are considered:
The absolute support is : 3 (No. of occurrences)
The relative support is: 3/5 (No. of occurrences = 3)/(Total no of transactions = 5) = P(Eggs)
where P stands for probability.
Suppose a rule is set say Eggs => Bacon
In this case the support(Eggs => Bacon) = P(Eggs ∪ Bacon) = 2/5 = 0.4
In most real-world scenarios, people find support for the association rules generated and compare them with the threshold condition min_support which is set by the company or a person with deep domain knowledge.