rmsep: Root MSE of Prediction

View source: R/OmicsPLS.R

rmsepR 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

o2m fit (on data without Xtst and Ytst).

combi

Logical. Should the symmetrized MSE be used, i.e. add both MSEs. Not yet implemented, but see rmsep_combi

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


selbouhaddani/OmicsPLS documentation built on Aug. 25, 2022, 9:52 p.m.