Description Usage Arguments Details Value References See Also Examples
View source: R/errorFunctions.R
The function calculates the cross entropy error from the original
and
estimate
parameters.
1 | crossEntropyError(original, estimate)
|
original |
The original data matrix. |
estimate |
The calculated data matrix. |
This function can be used for the darch.errorFunction
parameter of the
darch
function, but is only a valid error function if used in
combination with the softmaxUnit
activation function! It is not
a valid value for the parameter rbm.errorFunction
.
A list with the name of the error function in the first entry and the error value in the second entry.
Rubinstein, R.Y., Kroese, D.P. (2004). The Cross-Entropy Method: A Unified Approach to Combinatorial Optimization, Monte-Carlo Simulation, and Machine Learning, Springer-Verlag, New York.
Other error functions: mseError
,
rmseError
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.