mse: MSE error

Description Usage Arguments Details Value

Description

Function to compute the mean squared error (MSE)

Usage

1
mse(object, ...)

Arguments

object

The instance to ELM class.

y

The output matrix of dimensions [N x c] with number of columns equivalent to the number of variables or classes.

yp

The predicted output matrix of dimensions [N x c]; output matrix

x

the input matrix [N x L]. Required for the LOO case

Details

If LOO option is activated, the MSE Allen's PRESS formula is used and the data matrix X must be supplied.

Value

The MSE error

If LOO is activated, the Allen's PRESS estimation is returned


mugiro/elm documentation built on May 23, 2019, 8:21 a.m.