Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rankScore

Rank Score


Description

Rank Score extends the recall metric to take the positions of correct items in a ranked list into account.

Usage

rankScore(recommendedIDX, testSetIDX, alpha)

Arguments

recommendedIDX

indices of the recommended items. Object of class numeric.

testSetIDX

indices of the items in the test set. Object of class numeric

alpha

is the ranking half life. Object of class numeric.

Details

Rank Score is defined as the ratio of the Rank Score of the correct items to best theoretical Rank Score achievable for the user:

rankscore_{p} =∑_{i\in{h}} 2^{-\frac{rank(i)-1}{α}}

rankscore_{max} = ∑_{i=1}^{|T|} 2^{-\frac{i-1}{α}}

rankscore = \frac{rankscore_p}{rankscore_{max}}


rrecsys

Environment for Evaluating Recommender Systems

v0.9.7.3.1
GPL-3
Authors
Ludovik Çoba [aut, cre, cph], Markus Zanker [ctb], Panagiotis Symeonidis [ctb]
Initial release
2018-02-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.