DEV Community

Cover image for What is the Apriori Algorithm With Example? Simplest Explanation!
tut_ml
tut_ml

Posted on

What is the Apriori Algorithm With Example? Simplest Explanation!

In this article, I will explain What is the Apriori Algorithm With Example?. I tried to explain the Apriori Algorithm in the easiest way so that you can understand the whole concepts of the apriori algorithm easily.

What is Apriori Algorithm With Example?

Apriori algorithm is the algorithm that is used to find out the association rules between objects. That means how two objects are associated and related to each other. In simple words, the apriori algorithm is an association rule learning that analyzes that “People who bought item X also bought item Y.

The objective of the apriori algorithm is to generate the association rule between objects. And the association rule tells us how two or three objects are correlated to each other. Apriori Algorithm is also known as frequent pattern mining.

Where Apriori Algorithm is Used?

The most common and popular example of the apriori algorithm is Recommendation System. Let’s understand with the help of the Movie Recommendation example.

Suppose this is the data of users who like some movies-
Click to continue reading...

Top comments (0)