Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: All Frequent Items | High Performance Rule Mining and Scale Optimization
Market Basket Analysis and Recommendation Systems
Section 2. Chapter 3
single

single

Challenge: All Frequent Items

Swipe to show menu

Task

Swipe to start coding

Implement a function to find all single items in the transaction database that are frequent, based on a given minimum support.

  • Count the frequency of each individual item across all transactions.
  • Return a list of tuples where each tuple is (item, support), for all items with support greater than or equal to the minimum support.
  • Sort the result by support in descending order, then by item name lexicographically.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 3
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

some-alt