Description Usage Arguments Details Value
View source: R/error_functions.R
Calculates the Mean of the squared errors, or the difference between the two input vectors or matrices.
1 | MSE(target, predicted)
|
target |
A m-by-n matrix or length m vector of target values. |
predicted |
A m-by-n matrix or length m vectorof predicted values. |
When the number is higher than the number of variables in the internal X matrix, the function might display unwanted behaviour.
A Double indicating the Mean Squared Error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.