Icon

02_​Build_​Association_​Rules_​for_​MarketBasketAnalysis_​exercise

Market Basket Analysis: Building Association Rules - solution

Introduction to Machine Learning Algorithms course - Session 3
Solution to exercise 2
- Find association rules for Market Basket Analysis using the Association Rule Learner (Borgelt) node





Exercise: Market Basket Analysis: Build Association RulesThis workflow reads transaction/basket data and product data. The goal is to extract association rules based on thetransaction/basket data.1) Use the Association Rule Learner node to calculate the association rules with the following settings:- min rule confidence = 10%- min support 2.5%- Leave other settings to their defaults2) Translate the product IDs in the antecedent collection and the consequent to product names by applying the TranslateProduct Ids to Product Names metanode. Read dataTop: TransactionsBottom: Productswrite association rulesto a fileTop: Association rulesBottom: Lookup table Products and Product Ids Read HistoricalBasket Data Table Writer Translate Product Idsto Product Names Exercise: Market Basket Analysis: Build Association RulesThis workflow reads transaction/basket data and product data. The goal is to extract association rules based on thetransaction/basket data.1) Use the Association Rule Learner node to calculate the association rules with the following settings:- min rule confidence = 10%- min support 2.5%- Leave other settings to their defaults2) Translate the product IDs in the antecedent collection and the consequent to product names by applying the TranslateProduct Ids to Product Names metanode. Read dataTop: TransactionsBottom: Productswrite association rulesto a fileTop: Association rulesBottom: Lookup table Products and Product Ids Read HistoricalBasket Data Table Writer Translate Product Idsto Product Names

Nodes

Extensions

Links