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

Unlock the full course today

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

Eclat

Eclat - Python Tutorial

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

Start my 1-month free trial

Eclat

- The Apriori algorithm may be the most common for association rules mining or association analysis. But an important second is Eclat which is especially useful when you have large data sets. And it produces output that looks very similar, but the method in which it goes through the data is rather different. But let me show you how to do Eclat here in Python. We're going to begin by installing a package called pyEclat that allows us to do this. This only has to be done once on a machine so I don't need to do it right now but either uncomment this cell and run it or I needed to run this cell. You uncomment the two lines and then run it it'll install the library. Once you have that though, you can install these extra packages, and then we can load and prepare the data. Now we're going to use the same groceries dataset before but we're going to use it in a slightly different format. What we're going to do is we're simply…

Contents