rmseError: Root-mean-square error function

Description Usage Arguments Details Value See Also Examples

View source: R/errorFunctions.R

Description

The function calculates the root-mean-square error (RMSE) from the original and estimate parameters.

Usage

1
rmseError(original, estimate)

Arguments

original

The original data matrix.

estimate

The calculated data matrix.

Details

This function is a valid value for both darch parameters rbm.errorFunction and darch.errorFunction.

Value

A list with the name of the error function in the first entry and the error value in the second entry.

See Also

Other error functions: crossEntropyError, mseError

Examples

1
2
3
4
5
6
## Not run: 
data(iris)
model <- darch(Species ~ ., iris, rbm.errorFunction = "rmseError",
 darch.errorFunction = "rmseError")

## End(Not run)

darch documentation built on May 29, 2017, 8:14 p.m.

Related to rmseError in darch...