Description Usage Arguments Details References Examples
Calculate Mean-Square Error (Deviation)
For the ith sample, Squared Error is calculated as SE = (prediction - actual)^2. MSE is then mean(squared errors).
1 |
preds |
A vector of prediction values in [0, 1] |
actuals |
A vector of actuals values in 0, 1, or FALSE, TRUE |
weights |
Optional vectors of weights |
na.rm |
Should (prediction, actual) pairs with at least one NA value be ignored? |
Calculate Mean-Square Error (Deviation)
https://en.wikipedia.org/wiki/Mean_squared_error
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.