August 2017
Beginner to intermediate
340 pages
8h 42m
English
Recall from the association rule introduction that in computing association rules, we are about halfway there once we have frequent item sets, that is, patterns for the specified minimum threshold. In fact, Spark's implementation of association rules assumes that we provide an RDD of FreqItemsets[Item], which we have already seen an example of in the preceding call to model.freqItemsets. On top of that, computing association rules is not only available as a standalone algorithm but is also available through FPGrowth.
Before showing how to run the respective algorithm on our running example, let's quickly explain how association rules are implemented in Spark:
Read now
Unlock full access