The function calculates the cross entropy error from the original and
estimate parameters.
Usage
crossEntropyError(original, estimate)
Arguments
original
The original data matrix.
estimate
The calculated data matrix.
Value
A list with the name of the error function in the first entry and the
error value in the second entry.
Details
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.
References
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.