View source: R/binary_crossentropy.R
binary_crossentropy | R Documentation |
Compute Binary Crossentropy. The squared loss, in a sense, quantifies the error (or alternatively closeness) of the predicted label to the true label. When specialized to the case of probabilistic classifiers, this then can be interpreted as a reliability measure. This function assumes that inputs are given as probability vectors (and not matrices).
binary_crossentropy(y_real, y_predicted)
y_real |
Observed values (integers) to compare with (in matrix format for multiclass classification). |
y_predicted |
Predicte values (probabiblities by class). |
integer value of Binary Crossentropy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.