Description Usage Arguments Value Author(s) Examples
This function evaluates the accuracy and logloss of predictions for the Titanic test set (272 individuals).
1 | eval_titanic(pred)
|
pred |
a vector with 272 numeric values representing survival probabilities for all passengers in the Titanic test data. |
a list with 2 attributes: accuracy and logloss.
Olivier François
1 2 3 | library(isd)
pred <- runif(272)
eval_titanic(pred)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.