Summary method for Collaborative Filter
# S3 method for crs summary(object, n = 36, dec = 2, ...)
object | Return value from |
---|---|
n | Number of lines of recommendations to print. Use -1 to print all lines |
dec | Number of decimals to show |
... | further arguments passed to or from other methods |
See https://radiant-rstats.github.io/docs/model/crs.html for an example in Radiant
crs
to generate the results
plot.crs
to plot results if the actual ratings are available
crs(ratings, id = "Users", prod = "Movies", pred = c("M6", "M7", "M8", "M9", "M10"), rate = "Ratings", data_filter = "training == 1") %>% summary()#> Collaborative filtering #> Data : ratings #> Filter : training == 1 #> User id : Users #> Product id : Movies #> Predict for: M6, M7, M8, M9, M10 #> #> Recommendations: #> #> Users product rating average cf ranking avg_rank cf_rank #> U11 M6 3.30 4.10 3 1 #> U11 M7 2.70 2.08 5 4 #> U11 M8 3.50 1.70 2 5 #> U11 M9 2.90 2.13 4 3 #> U11 M10 4.10 2.71 1 2