Compute the log loss/cross-entropy loss.
Predicted probabilities vector, as returned by a classifier
Ground truth (correct) 0-1 labels vector
Log loss/Cross-Entropy Loss
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.