mse {orf}R Documentation

Mean Squared Error

Description

computes the mean squared error (MSE) for evaluating the accuracy of ordered/unordered probability predictions

Usage

mse(predictions, observed)

Arguments

predictions

matrix of predictions (n x categories)

observed

vector of observed ordered categorical outcomes (n x 1)

Value

scalar, sum MSE for given predictions


[Package orf version 0.1.4 Index]