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.
predict_top_k(model_fit, burnin = model_fit$burnin, k = 3)
An object of type BayesMallows
, returned from
compute_mallows
.
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
.
Integer specifying the k in top-\(k\).
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\).