Multiple antecedents and consequents
Market basket analysis revolves around the use of association rules, which are if-then statements about the relationship between two sets of items. The rule {coffee} \(\rightarrow\) {milk}, for instance, is read as "if coffee then milk," where coffee is the antecedent and milk is the consequent. Many rules have multiple antecedents and consequents. We will examine such rules in this exercise.
Cet exercice fait partie du cours
Market Basket Analysis in Python
Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
