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