鍍金池/ 教程/ Java/ FilmTrust
FilmTrust
DataModel
Librec
Recommender
Filter
Configuration list
Evaluator
Introduction
DataFileFormat
Algorithm list
CommandLine walkthrough
Librec Document

FilmTrust

FilmTrust為2011年從網(wǎng)站FilmTrust 完整抓取下來的數(shù)據(jù)集.

本數(shù)據(jù)集由兩部分組成:ratings.txt 和 trust.txt.其中 ratings.txt包含35497條數(shù)據(jù), 保存形式為 userid, movieid, movieRating trust.txt包含1853條數(shù)據(jù),保存形式為 trustorId, trusteeId, trustRating

@INPROCEEDINGS{guo2013novel,
   author = {Guo, G. and Zhang, J. and Yorke-Smith, N.},
   title = {A Novel Bayesian Similarity Measure for Recommender Systems},
   booktitle = {Proceedings of the 23rd International Joint Conference on Artificial Intelligence (IJCAI)},
   year = {2013},
   pages = {2619-2625}
}

在配置文件中配置使用該文件的配置項(xiàng)為

# set data directory
dfs.data.dir=../data

# setting dataset name
data.input.path=filmtrust

在java程序中配置方法為

conf.set("dfs.data.dir", "../data")
conf.set("data.input.path", "filmtrust");
上一篇:Filter下一篇:Librec