Apriori_java_MR.zip

上传者: 36839976 | 上传时间: 2024-05-23 22:38:14 | 文件大小: 1.63MB | 文件类型: ZIP
基于Hadoop的MapReduce并行apriori算法,实验设计在3台虚拟机上,搭建步骤:(1) 虚拟机上安装ubuntu系统,安装JDK、SSH、Hadoop。 (2) 配置JDK、Hadoop环境变量及MapReduce组件。 (3) 配置SSH免密登录。 (4) 使用hadoop namenode -format命令格式化NameNode,使用start-all.sh命令启动所有Hadoop进程。 (5) 在各节点命令行输入jps检查是否启动成功,若成功,使用wordcount示例进行测试,Hadoop平台搭建完成。 (6) 将数据集从本地传输到HDFS上,使用hadoop jar命令,输入驱动类规定参数,使用Apriori.jar包,运行AprioriDriver驱动类,实现算法效果。 (7) 运行结束使用hadoop fs -cat /output命令查看结果。

文件下载

资源详情

[{"title":"( 29 个子文件 1.63MB ) Apriori_java_MR.zip","children":[{"title":"Apriori_java_MR","children":[{"title":".gitignore <span style='color:#111;'> 8B </span>","children":null,"spread":false},{"title":".project <span style='color:#111;'> 372B </span>","children":null,"spread":false},{"title":".dd.swp <span style='color:#111;'> 12.00KB </span>","children":null,"spread":false},{"title":"run.sh <span style='color:#111;'> 398B </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 587B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":".project <span style='color:#111;'> 362B </span>","children":null,"spread":false},{"title":"utils","children":[{"title":"AprioriUtils.java <span style='color:#111;'> 7.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"list","children":[{"title":"ItemSet.java <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"Transaction.java <span style='color:#111;'> 544B </span>","children":null,"spread":false}],"spread":true},{"title":"trie","children":[{"title":"TrieNode.java <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"Trie.java <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false}],"spread":true},{"title":".out.txt.crc <span style='color:#111;'> 12B </span>","children":null,"spread":false},{"title":"apriori","children":[{"title":"AprioriReducer.java <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"AprioriPass1Mapper.java <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"AprioriPassKMapper.java <span style='color:#111;'> 4.62KB </span>","children":null,"spread":false},{"title":"AprioriDriver.java <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 220B </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 8.00KB </span>","children":null,"spread":false}],"spread":true},{"title":".idea","children":[{"title":"Apriori_java_MR.iml <span style='color:#111;'> 336B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 13.65KB </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 361B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 282B </span>","children":null,"spread":false}],"spread":true},{"title":"dataSet","children":[{"title":"retail.dat <span style='color:#111;'> 3.97MB </span>","children":null,"spread":false},{"title":"mushroom.dat <span style='color:#111;'> 557.04KB </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"sample <span style='color:#111;'> 43B </span>","children":null,"spread":false}],"spread":true},{"title":"README <span style='color:#111;'> 13.11KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 426B </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明