Challenge: Metrics Calculation
Swipe to start coding
In this challenge, you will implement functions to calculate all metrics discovered in the previous chapter.
We will store transactions as a list of itemsets. You have to fill in the gaps in code to calculate support, confidence and lift measures.
Once you've completed this task, click the button below the code to check your solution.
Solution
Thanks for your feedback!
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 6.67
Challenge: Metrics Calculation
Swipe to show menu
Swipe to start coding
In this challenge, you will implement functions to calculate all metrics discovered in the previous chapter.
We will store transactions as a list of itemsets. You have to fill in the gaps in code to calculate support, confidence and lift measures.
Once you've completed this task, click the button below the code to check your solution.
Solution
Thanks for your feedback!
Awesome!
Completion rate improved to 6.67single