From the course: Data Science Foundations: Data Mining in R

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Eclat

Eclat

From the course: Data Science Foundations: Data Mining in R

Start my 1-month free trial

Eclat

After Apriori, what is probably the second most common approach to association rules mining, is the Eclat algorithm. And this one actually runs very similarly. And in fact, under certain settings they are guaranteed to give identical responses. But, it goes through the data a little differently and it can be faster with larger data sets. But, for this demonstration I'm going to use the same data set we had before. And we get the Eclat algorithm from the same arules package that we've loaded previously. So I'm going to load that and then set the random seed and then bring in the groceries data set from arules package. So there's our information about it. We've loaded it over there. We'll get the structure and the summary. And this we've all seen before. Now we're going to come down to the rules and this is where Eclat differs a little bit from Apriori. Eclat first creates item sets and that allows it to process the…

Contents