The Apriori algorithm is one of the best known algorithms in computer science. The algorithm, initially developed by Agrawal and Srikant [3], is able to speed up the generation of association rules by exploiting the following two observations: If an item-set is frequent (i.e., an item-set with a support above the threshold), then all of its non-empty subsets are also frequent. Formally, for any pair of non-empty item-sets X, Y : if Y ? X and NX /N ? minsup, then NY /N ? minsup. If, for any k, Ik is the set of all frequent item-sets with cardinality k and Il =? for some l, then Ik =? for all k ? l. These two properties can be used to dramatically reduce the search-space when constructing the set of frequent item-sets. For example, if item-set {a, b} is infrequent, then it does not make any sense to look at item-sets containing both a and b. The Apriori algorithm works as follows:
Results (
Thai) 1:
[Copy]Copied!
อัลกอริทึม Apriori เป็นหนึ่งของอัลกอริทึมที่รู้จักกันดีในวิทยาการคอมพิวเตอร์ ขั้นตอนวิธี เริ่มต้นพัฒนา โดย Agrawal และ Srikant [3], จะสามารถเร่งการสร้างสมาคม โดย exploiting สังเกตสองต่อไปนี้: ถ้าเป็นชุดสินค้าไม่บ่อย (เช่น มีสินค้าชุดสนับสนุนเหนือขีดจำกัดด้วย), แล้วย่อยที่ไม่ว่างเปล่าทั้งหมดก็เป็น อย่างเป็นกิจจะลักษณะ สำหรับทุกคู่ไม่ว่างสินค้าชุด X, Y: ถ้า Y X และ NX /n%1 /N minsup, /n%1 /N NY แล้ว minsup ถ้า สำหรับ k ใด ๆ เป็นชุดของชุดเป็นสินค้าทั้งหมดจำนวนนับ k และ Il = สำหรับบาง l, Ik = สำหรับ k ทั้งหมด l สามารถใช้คุณสมบัติเหล่านี้สองเพื่อลดพื้นที่ค้นหาเมื่อสร้างชุดสินค้าชุดบ่อย ตัวอย่าง ถ้าสินค้าชุด {a, b } ดำรัส แล้วได้ความรู้สึกใด ๆ ที่ประกอบด้วยทั้งชุดสินค้า และ b อัลกอริทึม Apriori ทำงานเป็นดังนี้:
Being translated, please wait..
