当前位置: 首页 > news >正文

天津 网站优化域名命名网站

天津 网站优化,域名命名网站,如何验证网站,建筑材料采购网站Mahout在MapReduce上实现了Item-Based Collaborative Filtering,这里我尝试运行一下。 安装Hadoop 从下载Mahout并解压 准备数据 下载1 Million MovieLens Dataset,解压得到ratings.dat,用 sed ‘s/:😦[0-9]{1,}):😦…

Mahout在MapReduce上实现了Item-Based Collaborative Filtering,这里我尝试运行一下。

  1. 安装Hadoop

  2. 从下载Mahout并解压

  3. 准备数据
    下载1 Million MovieLens Dataset,解压得到ratings.dat,用

    sed ‘s/:😦[0-9]{1,}):😦[0-9]{1})::[0-9]{1,}$/,\1,\2/’ ratings.dat
    处理成需要的格式。

  4. 运行
    mahout recommenditembased -s SIMILARITY_LOGLIKELIHOOD -i /path/to/input/file -o /path/to/desired/output -n 25
    参数:

MAHOUT-JOB: /home/laxe/apple/mahout/mahout-examples-0.11.0-job.jar
Job-Specific Options:
--input (-i) input Path to job input directory.
--output (-o) output The directory pathname for output.
--numRecommendations (-n) numRecommendations Number of recommendations per user.
--usersFile usersFile File of users to recommend for.
--itemsFile itemsFile File of items to recommend for.
--filterFile (-f) filterFile File containing comma-separated userID,itemID pairs. Used to exclude the item from the recommendations for that user(optional).
--userItemFile (-uif) userItemFile File containing comma-separated userID,itemID pairs(optional). Used to include only these items into recommendations. Cannot be used together with usersFile or itemsFile.
--booleanData (-b) booleanData Treat input as without prefvalues.
--maxPrefsPerUser (-mxp) maxPrefsPerUser Maximum number of preferences considered per user in final recommendation phase.
--minPrefsPerUser (-mp) minPrefsPerUser Ignore users with less preferences than this in the similarity computation (default: 1).
--maxSimilaritiesPerItem (-m) maxSimilaritiesPerItem Maximum number of similarities considered per item.
--maxPrefsInItemSimilarity (-mpiis) maxPrefsInItemSimilarity Max number of preferences to consider per user or item in the item similarity computation phase, users or items with more preferences will be sampled down(default: 500).
--similarityClassname (-s) similarityClassname Name of distributed similarity measures class to instantiate,
alternatively use one of the predefined similarities([SIMILARITY_COOCCURRENCE, SIMILARITY_LOGLIKELIHOOD, SIMILARITY_TANIMOTO_COEFFICIENT, SIMILARITY_CITY_BLOCK, SIMILARITY_COSINE, SIMILARITY_PEARSON_CORRELATION, SIMILARITY_EUCLIDEAN_DISTANCE])
--threshold (-tr) threshold Discard item pairs with a similarity value below this.
--outputPathForSimilarityMatrix (-opfsm) outputPathForSimilarityMatrix Write the items imilarity matrix to this path(optional).
--randomSeed randomSeed Use this seed for sampling.
--sequencefileOutput Write the output into a Sequence File instead of a text file.
--help (-h) Print out help.
--tempDir tempDir Intermediate output directory.
--startPhase startPhase First phase to run.
--endPhase endPhase Last phase to run specify HDFS directories while running on hadoop; else specify local file system directories.

参考
Introduction to Item-Based Recommendations with Hadoop
mahout分布式:Item-based推荐

http://www.yayakq.cn/news/934700/

相关文章:

  • 知名商城网站建设价格百度推送
  • 青海做网站最好的公司网站的布局分类
  • 域名网站空间如何做网站frontpage
  • 郑州网站建设学习企业服务器配置方案
  • 遵义制作网站中国网湖北官网
  • 中煤浙江基础建设有限公司网站深圳分销网站设计制作
  • 首都农村医学人才培养体系建设与农村医学人才培养的研究与实践 网站化妆品网站静态模板
  • 网站制作公司电话营销方案英文
  • 网站开发无锡网站开发建设与维护做什么的
  • 国外空间怎么上传网站怎么做图片网站
  • 西安网站手机网站建设建筑设计软件哪个好用
  • 制作网站找哪家好photoshop 做网站
  • 电脑版和手机版网站怎么做的重庆网站建设选夹夹虫
  • 常州网站建设联系电话建筑工程项目管理软件
  • 做网站犯法国内10大猎头公司排名
  • 罗湖商城网站建设哪家效益快躺平设计家官网
  • 网站建设详细的步骤有哪些亚马逊跨境电商开店流程
  • 网站建设前期开发360导航建设网站怎么建
  • 科技加盟网站建设免费网站怎么盈利模式
  • 网站怎么做第三方登录做受视频播放网站
  • 高质量网站外链建设大揭秘吐鲁番市建设局网站
  • 重庆平台网站建设设计qq腾讯官网登录入口
  • 深圳竞价网站怀柔网站建设推广
  • 专业网站制作网络公司易捷商城小程序
  • 门户类网站建设需要多少钱宁夏网站建设推广
  • 视频网站做游戏分发店铺设计思路怎么写
  • 太原网站建设总部在哪英德市城乡建设局网站
  • 公司建设电子商务网站的目的建设银行网上银行官方网站
  • 付网站建设费用会计分录wordpress sql 导入
  • 太原网站建设质量推荐上海微信网站建设公司