powered by
The function calculates the mean squared error (MSE) from the original and estimate parameters.
original
estimate
mseError(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, rmseError
crossEntropyError
rmseError
# NOT RUN { data(iris) model <- darch(Species ~ ., iris, rbm.errorFunction = "mseError", darch.errorFunction = "mseError") # }
Run the code above in your browser using DataLab