This is my dataset. It contains the genres, year, and some of the actors that acted in the movie. The instructions state that we need to plot how the candidate itemsets and frequent itemsets change over iterations. As well as count the number of items pruned in each iteration and plot that. What I don't understand is how I can plot each iteration of the association rule mining process for the candidate and frequent itemsets. It doesn't seem to be possible to do so via Apriori. Is my only way of doing this by writing the apriori algorithm from scratch and plotting each iteration that way? If you could provide some guidance in regards to how to plot those iterations as well as how to plot the pruned items that would be great. Thanks!