Avsnitt 2. Kapitel 6
single
Challenge: FP-growth Implementation
Svep för att visa menyn
Uppgift
Swipe to start coding
FP-growth algorithm can be easily implemented using the mlxtend library.
You need to use fpgrowth(encoded_data, min_support) function to get frequent itemsets on the generated dataset. Use 0.05 as a minimum support value.
Note
Pay attention that we have to one-hot-encode the transaction dataset to use the FP-growth algorithm in this task.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 6
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal