Top 10 classic algorithms for data mining (4) the Apriori algorithm.

Source: Internet
Author: User

========================================================== ========================================================

This series is reprinted from aladdina

The aim is to give a general introduction to the top ten typical algorithms of Data Mining. If you need to study these algorithms in depth, please visit the internet. ========================================================== ==========================================================

 

The Apriori algorithm is the most influential algorithm used to mine frequent item sets of Boolean association rules. Its core is a recursive algorithm based on the two-phase frequency set thinking. This association rule belongs to single-dimension, single-layer, and boolean association rules in classification. Here, all the item sets with a higher degree of support than the minimum level are called frequent item sets.

 

The prefix statistics used by the algorithm include:

  • Maximum number of rule objects: Maximum number of objects contained in the rule object group
  • Minimum support: the minimum number of cases that must be met by the object or object group in the rule
  • Minimum confidence level: the minimum confidence level threshold that computing rules must meet

The basic idea of this algorithm is: first, find all frequency sets. The frequency of these item sets is at least the same as the predefined minimum support. Then, strong association rules are generated by the frequency set. These rules must meet the minimum support and minimum trust level. Then, use the frequency set found in step 1 to generate the expected rules and generate all rules containing only the items in the set. Each rule has only one rule on the right, the rule definition is used here. Once these rules are generated, only those rules that are greater than the minimum credibility given by the user are left. The recursive method is used to generate all frequency sets.
A large number of candidate sets may be generated, and the database may need to be scanned repeatedly. These are two major disadvantages of the Apriori algorithm.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.