Description Usage Arguments Value Author(s)
Compute and return the root-mean-square error for each model. This method is only intended for testing.
The root-mean-square error (RMSE) is
\frac{1}{K}∑_{i = 1}^K √{\frac{1}{N}∑_{j=1}^N Y_{ji}-(X\hat β)_{ji}}
RMSE is the default error.
1 2 |
object |
a lsgl object. |
data |
a design matrix (the X matrix). |
response |
a matrix of the true responses (the Y matrix). |
... |
ignored. |
a vector of errors.
Martin Vincent
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.