| mlp_binary_crossentropy_gradient | R Documentation |
Internal helper for computing the gradient of binary cross-entropy loss with respect to the MLP parameter vector.
mlp_binary_crossentropy_gradient(x, y, weights, architecture, epsilon = 1e-15)
x |
Numeric input matrix. |
y |
Numeric binary response vector coded as 0/1. |
weights |
Numeric parameter vector. |
architecture |
MLP architecture object. |
epsilon |
Small value used for numerical stability. |
A list containing loss, predictions, and gradient vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.