文件名称:apriori
- 所属分类:
- JSP源码/Java
- 资源属性:
- 上传时间:
- 2018-04-18
- 文件大小:
- 23kb
- 下载次数:
- 0次
- 提 供 者:
- 等朕***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
经典的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 |