Hello everyone.

Regarding the R package arules. I've realized that (at least) two of the most common measurements for APRIORI are actually using intersection instead of union.

Support, supp(A ∪ B ) the proportion of the transactions that contain both itemsets, is actually implemented as A ∩ B.

Confidence, supp(A U B) / Supp(A) is implemented as Supp(A ∩ B) / supp(A). I'm not sure, but seems that Weka is implemented using the intersection as well.

Ex:

# The following input:

A

More Joaquim V. C. Assunção's questions See All
Similar questions and discussions