Seksjon 2. Kapittel 6
single
Challenge: FP-growth Implementation
Sveip for å vise menyen
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 6
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår