Description Usage Arguments Value
log_loss() returns the logarithmic loss obtained from a given prediction and known result. The allow_inf parameter controls whether infinite loss is allowed (default is FALSE). Setting allow_inf to FALSE will cause large but finite penalties at the extremes.
1 |
act |
actual result(s) |
pred |
predicted result(s) |
allow_inf |
whether to allow infinite penalties |
the log loss score for this data or series of data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.