Description
computes the mean squared error (MSE) for evaluating the accuracy of
ordered/unordered probability predictions
Usage
mse(predictions, observed)
Value
scalar, sum MSE for given predictions
Arguments
- predictions
matrix of predictions (n x categories)
- observed
vector of observed ordered categorical outcomes (n x 1)