mse: Mean Squared Error

View source: R/evals.R

mseR 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


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