rmsep {OmicsPLS} | R Documentation |
Root MSE of Prediction
Description
Calculates the Root MSE of prediction on test data. Only tested to work inside loocv
.
Usage
rmsep(Xtst, Ytst, fit, combi = FALSE)
Arguments
Xtst |
Numeric vector or matrix. |
Ytst |
Numeric vector or matrix. |
fit |
|
combi |
Logical. Should the symmetrized MSE be used, i.e. add both MSEs. Not yet implemented, but see |
Details
This function is the building block for loocv
, as it produced the prediction error for test (left out) data.
Value
Mean squares difference between predicted Y and true Y
[Package OmicsPLS version 2.0.2 Index]