Learn R Programming

BayesMallows (version 1.1.0)

predict_top_k: Predict Top-k Rankings with Pairwise Preferences

Description

Predict the posterior probability, per item, of being ranked among the top-\(k\) for each assessor. This is useful when the data take the form of pairwise preferences.

Usage

predict_top_k(model_fit, burnin = model_fit$burnin, k = 3)

Arguments

model_fit

An object of type BayesMallows, returned from compute_mallows.

burnin

A numeric value specifying the number of iterations to discard as burn-in. Defaults to model_fit$burnin, and must be provided if model_fit$burnin does not exist. See assess_convergence.

k

Integer specifying the k in top-\(k\).

Value

A dataframe with columns assessor, item, and prob, where each row states the probability that the given assessor rates the given item among top-\(k\).

See Also

plot_top_k