topkusers: Recommendation Function

View source: R/topkusers.R

topkusersR 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")

CFilt documentation built on Oct. 4, 2024, 5:10 p.m.

Related to topkusers in CFilt...