Description Usage Arguments Value Author(s) Examples
Compute the (weighted) rank probability score for a tournament.
1 | logloss(m, outcome, rankweights = 1L)
|
m |
An R*T prediction matrix where the R rows represent the ordered ranks and each column is a team. Each column should sum to 1, and each row should sum to the number of teams that can attain a given rank. |
outcome |
A vector of length T containing the integers 1 to R giving the ranks that were obtained by each of the T teams |
rankweights |
A vector of length R of rank weights or a single weight which will be reused for all ranks (defaults to 1) |
The rank probability score. Zero means a perfect score.
Claus Ekstrom <ekstrom@sund.ku.dk>
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.