Lab for SPADE

Learn to code SPADE in this lab

We'll cover the following


In this lab, we’ll apply the SPADE algorithm discussed in the chapter on the dataset we introduced in the last lab.

For the purposes of clarity and demonstration, we’ll use a small subset of the data containing only 50 sequences (or sessions).

The first step is for us to load the right libraries to use the package. To use the SPADE algorithm, we’ll use the arulesSequences library.

Get hands-on with 1200+ tech skills courses.