topkusers {CFilt}R Documentation

Recommendation Function

Description

Functions that provide the top k users to recommend the item Id_i.

Usage

topkusers(CF, Id_i, k = 10, type = "user")

Arguments

CF

A CF objec

Id_i

the item Id

k

an integer

type

"user" or "item"

Author(s)

Jessica Kubrusly

Examples

objectCF_r <- CFbuilder(Data = movies[1:500,], Datatype = "ratings", 
similarity = "pearson")
colnames(objectCF_r$MU)
topkusers(CF = objectCF_r, Id_i = "The Lego Movie")
topkusers(CF = objectCF_r, Id_i = "Her")

[Package CFilt version 0.3.0 Index]