rps: Ranked Probability Score

View source: R/evals.R

rpsR Documentation

Ranked Probability Score

Description

Computes the mean ranked probability score (RPS) for evaluating the accuracy of ordered probability predictions

Usage

rps(predictions, observed)

Arguments

predictions

matrix of predictions (n x categories)

observed

vector of observed ordered categorical outcomes (n x 1)

Value

scalar, mean RPS for given predictions


orf documentation built on July 24, 2022, 1:05 a.m.