ndcg: Calculate metric metric: NDCG at k

View source: R/roc.R

ndcgR Documentation

Calculate metric metric: NDCG at k

Description

A function returning NDCG at k metric.

Usage

ndcg(scores, response, k = 0.01)

Arguments

scores

Probability that response is true or 1.

response

Responses coded as logical or 0, 1.

k

Percentage to classify as TRUE or 1.

Value

vector including sensitivity and precision


farr documentation built on Feb. 16, 2023, 8:11 p.m.

Related to ndcg in farr...