我正在尝试使用 R 中的包推荐实验室比较推荐算法。只想知道如何将关联规则合并到算法列表中进行比较(可以使用 arules 包的结果)
algorithms <- list(
"random items" = list(name="RANDOM", param=list(normalize = "Z-score")),
"popular items" = list(name="POPULAR", param=list(normalize = "Z-score")),
"user-based CF" = list(name="UBCF", param=list(normalize = "Z-score",
method="Cosine",
nn=50, minRating=3)))
# 要添加 "Assoc-Rules" = "arules etc."