score_models: Add evaluation metrics to a tibble of models

Description Usage Arguments Value

View source: R/score_models.R

Description

Add evaluation metrics to a tibble of models

Usage

1
score_models(data, metrics, occ_col = "occ")

Arguments

data

A data frame containing columns "prediction" and "test"

metrics

Which metrics to add. Options: "auc", "cbi"

occ_col

Name of the response column in the test dataset

Value

Vector of evaluation metric scores


juoe/sdmflow documentation built on Feb. 23, 2020, 7:38 p.m.