View source: R/performance_logloss.R
performance_logloss | R Documentation |
Compute the log loss for models with binary outcome.
performance_logloss(model, verbose = TRUE, ...)
model |
Model with binary outcome. |
verbose |
Toggle off warnings. |
... |
Currently not used. |
Logistic regression models predict the probability of an outcome of being a
"success" or "failure" (or 1 and 0 etc.). performance_logloss()
evaluates
how good or bad the predicted probabilities are. High values indicate bad
predictions, while low values indicate good predictions. The lower the
log-loss, the better the model predicts the outcome.
Numeric, the log loss of model
.
performance_score()
data(mtcars)
m <- glm(formula = vs ~ hp + wt, family = binomial, data = mtcars)
performance_logloss(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.