文件名称:apriori
介绍说明--下载内容来自于网络,使用问题请自行百度
经典的Apriori算法由于要多次扫描数据库,产生大量的候选项集,极大的影响了算法的时间和空间效率。为了减少数据库的扫描次数,可采用矩阵记录所需数据并放入内存中。矩阵record的每个行号对应一个商品码(即一个项),每个列号对应一个客户号(即一个事务)。倘若第j个客户买了第i个商品,则record[i][j]=1,否则record[i][j]=0. 扫描一遍数据库,将矩阵record初始化。接下来的工作,都可以通过扫描内存中的矩阵进行,不必再扫描数据库。(The classic Apriori algorithm generates many candidate itemsets because it needs to scan the database many times, which greatly affects the time and space efficiency of the algorithm. In order to reduce the number of database scanning, we can use matrix to record the required data and put it into memory. Every row number of matrix record corresponds to a commodity code, that is, one item, and each column number corresponds to a customer number (i.e. a transaction). If a j customer buys a I commodity, then record[i][j]=1, otherwise record[i][j]=0. scan the database once and initialize the matrix record. The next work can be done by scanning the matrix in memory without scanning the database again.)
相关搜索: Apriori
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
apriori\20180303.txt | 3359 | 2018-03-03 |
apriori\20180304.txt | 4012 | 2018-03-04 |
apriori\20180305.txt | 5412 | 2018-03-05 |
apriori\20180306.txt | 6252 | 2018-03-06 |
apriori\20180330.txt | 6278 | 2018-03-30 |
apriori\20180331.txt | 6606 | 2018-04-07 |
apriori\V1.txt | 5639 | 2018-04-08 |
apriori\V2.txt | 6482 | 2018-04-15 |
apriori\V3.txt | 6731 | 2018-04-16 |
apriori\V3_1.txt | 7329 | 2018-04-08 |
apriori\V4.txt | 8431 | 2018-04-14 |
apriori | 0 | 2018-04-08 |
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。