View source: R/kclosestitems.R
kclosestitems | R Documentation |
Functions that provide items to be recommended to system users.
kclosestitems(CF, Id_i, k = 10)
CF |
A CF objec |
Id_i |
the item Id |
k |
an integer |
Jessica Kubrusly
objectCF_r <- CFbuilder(Data = movies[1:500,], Datatype = "ratings",
similarity = "pearson")
kclosestitems(CF = objectCF_r, Id_i = "The Lego Movie")
kclosestitems(CF = objectCF_r, Id_i = "Lincoln", k=5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.