mse | R Documentation |
computes the mean squared error (MSE) for evaluating the accuracy of ordered/unordered probability predictions
mse(predictions, observed)
predictions |
matrix of predictions (n x categories) |
observed |
vector of observed ordered categorical outcomes (n x 1) |
scalar, sum MSE for given predictions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.