首页 | 本学科首页   官方微博 | 高级检索  
     

基于布尔矩阵约简的Apriori算法改进研究
引用本文:廖纪勇,吴晟,刘爱莲.基于布尔矩阵约简的Apriori算法改进研究[J].计算机工程与科学,2019,41(12):2231-2238.
作者姓名:廖纪勇  吴晟  刘爱莲
作者单位:昆明理工大学信息工程与自动化学院,云南 昆明 650500;昆明理工大学信息工程与自动化学院,云南 昆明 650500;昆明理工大学信息工程与自动化学院,云南 昆明 650500
摘    要:针对关联规则中Apriori算法存在的缺点,提出了一种基于布尔矩阵约简的Apriori改进算法。在该算法中,将事务数据库转换为布尔矩阵,并在矩阵最后增加1行2列,用来记录相同事务的个数和矩阵行与列中"1"的个数。将矩阵各列元素按支持数升序排列,使得算法在压缩过程中减少了扫描矩阵各列的次数,缩短了算法的运行时间。另外,为了提高算法的存储空间利用率,增加了删除非频繁项集的操作。实验结果和性能分析表明,相比现有的算法,改进后的算法具有更好的性能,能够有效地提高算法执行效率。

关 键 词:Apriori算法  频繁项集  关联规则  矩阵约简
收稿时间:2019-01-25
修稿时间:2019-04-08

An improved Apriori algorithm based on Boolean matrix reduction
LIAO Ji-yong,WU Sheng,LIU Ai-lian.An improved Apriori algorithm based on Boolean matrix reduction[J].Computer Engineering & Science,2019,41(12):2231-2238.
Authors:LIAO Ji-yong  WU Sheng  LIU Ai-lian
Affiliation:(School of Information Engineering and Automation,Kunming University of Science and Technology,Kunming 650500,China)  
Abstract:Aiming at the shortcomings of Apriori algorithm in association rules, an improved Apriori algorithm based on Boolean matrix reduction is proposed.In this algorithm, the transaction database is converted into a Boolean matrix, and one row and two columns are added at the end of the matrix to record the number of the same transactions and the number of 1 in the matrix row and column.According to the number of supports, the elements of each matrix column are arranged in ascending order, so the number of scanning matrix columns is reduced in the process of compressing the matrix and the time efficiency of the algorithm is improved. In addition, in order to improve the spatial efficiency of the algorithm, the operation of deleting infrequent itemsets is added.Experimental results and performance analysis prove that the improved algorithm has better performance than the existing Apriori algorithm, and can effectively improve the computational efficiency of the algorithm.
Keywords:Apriori algorithm  frequent itemset  association rule  matrix reduction  
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号