Support S is the percentage of transactions in D that contain AUB.
Confidence c is the percentage of transactions in D containing A that also contain B.
Support ( A=>B)= P(AUB)
Confidence (A=>B)=P(B/A)