How to do Association Rule Mining using apriori in Python

Association Rule Mining is an unsupervised machine learning technique used to find hidden rules in data. Apriori is one of the famous algorithms for the same. More information about it can be found here.

You can learn more about association rule mining in the below video.

You can learn more about Apriori algorithm using below video.

The below code will help to find rules in any given transaction data.

Sample Output

How to run apriori algorithm in Python
How to run apriori algorithm in Python

Author Details
Lead Data Scientist
Farukh is an innovator in solving industry problems using Artificial intelligence. His expertise is backed with 10 years of industry experience. Being a senior data scientist he is responsible for designing the AI/ML solution to provide maximum gains for the clients. As a thought leader, his focus is on solving the key business problems of the CPG Industry. He has worked across different domains like Telecom, Insurance, and Logistics. He has worked with global tech leaders including Infosys, IBM, and Persistent systems. His passion to teach inspired him to create this website!

Leave a Reply!

Your email address will not be published. Required fields are marked *