evaluate_classification: Get performance metrics for classification predictions

Description Usage Arguments Value Examples

View source: R/evaluate.R

Description

Get performance metrics for classification predictions

Usage

1
evaluate_classification(predicted, actual)

Arguments

predicted

Vector of predicted probabilities

actual

Vector of realized outcomes, must be 0/1

Value

Numeric vector of scores with metric as names

Examples

1
evaluate_classification(c(.7, .1, .6, .9, .4), c(1, 0, 0, 1, 1))

healthcareai documentation built on Sept. 2, 2018, 1:03 a.m.