rps: Ranked Probability Score

Description Usage Arguments Value

View source: R/evals.R

Description

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

Usage

1
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 March 26, 2020, 7:30 p.m.