Re: Remove subsets from FP Growth output

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Re: Remove subsets from FP Growth output


Increase the threshold? Just filter the rules as desired after they are generated?
It's not clear what your criteria are.

On Wed, Dec 2, 2020 at 7:30 AM Aditya Addepalli <[hidden email]> wrote:

Is there a good way to remove all the subsets of patterns from the output given by FP Growth?

For example if both the patterns pass the confidence and support thresholds:

[Attribute1 = A, Attribute2 = B] -> [Output=C]
[Attribute1 = A] -> [Output=C]

I want to choose only [Attribute1 = A] -> [Output=C]

Any ideas that come to mind would be appreciated.