What are data requirements for FP-Growth in Weka?

ŁukaszBachman picture ŁukaszBachman · Jan 12, 2013 · Viewed 7.4k times · Source

I'd like to use FP-Growth association rule algorithm on my dataset (model) in Weka.

Unfortunately, this algorithm is greyed out. What are preconditions I have to meet in order to make use of it?

Answer

ŁukaszBachman picture ŁukaszBachman · Jan 13, 2013

The answer/solution:

  1. Each algorithm that Weka implements has some sort of a summary info associated with it. In order to see it from the GUI, one has to click on algorithm (or filter) options and then click once more on Capabilities button. Then a small popup will show up containing some info regarding particular algorithm.
  2. In case of FPGrowth - model attributes needs to be of binary type. In my case I had a mix od nominal and numeric parameters. I had to apply NominalToBinary filter which converted my nominal attributes to binary values. Then I had to apply flter NumericToBinary with selected option ignoreClass set to true.

This has helped me to "unlock" FPGrowth in Weka.