fp-growth icon indicating copy to clipboard operation
fp-growth copied to clipboard

Minimum support scale

Open ihsansatriawan opened this issue 9 years ago • 4 comments

in doc, you write patterns = pyfpgrowth.find_frequent_patterns(transactions, 2) , 2 is minium support right ? in my knowledge, FP-growth has minimum support and minimum confidence in % , my question is, what scale of minimum support ? thx

ihsansatriawan avatar Apr 29 '16 02:04 ihsansatriawan

Yes, it is the minimum support.

This implementation uses an absolute minimum support count, like the description in Han, 2000. A relative support is possible too, i.e. 0.1 would mean the item has to appear in one out of ten transactions or more, but I haven't implemented that. It's trivial, though.

The minimum confidence is used in the generate_association_rules step.

evandempsey avatar Apr 29 '16 07:04 evandempsey

so you mean, it's minimum item appear 2 in trasaction right ?

ihsansatriawan avatar Apr 29 '16 12:04 ihsansatriawan

Yes.

evandempsey avatar May 02 '16 20:05 evandempsey

Why not implement like confidence? With %

ihsansatriawan avatar May 02 '16 21:05 ihsansatriawan