evaluate_multiclass: Get performance metrics for multiclass predictions

Description Usage Arguments Value Examples

View source: R/evaluate.R

Description

Get performance metrics for multiclass predictions

Usage

1
evaluate_multiclass(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_multiclass(iris$Species, sample(iris$Species))

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