powered by
The function calculates the root-mean-square error (RMSE) from the original and estimate parameters.
original
estimate
rmseError(original, estimate)
The original data matrix.
The calculated data matrix.
A list with the name of the error function in the first entry and the error value in the second entry.
This function is a valid value for both darch parameters rbm.errorFunction and darch.errorFunction.
darch
rbm.errorFunction
darch.errorFunction
Other error functions: crossEntropyError, mseError
crossEntropyError
mseError
# NOT RUN { data(iris) model <- darch(Species ~ ., iris, rbm.errorFunction = "rmseError", darch.errorFunction = "rmseError") # }
Run the code above in your browser using DataLab