evaluate_regression: Get performance metrics for regression predictions

Description Usage Arguments Value Examples

View source: R/evaluate.R

Description

Get performance metrics for regression predictions

Usage

1
evaluate_regression(predicted, actual)

Arguments

predicted

Vector of predicted values

actual

Vector of realized values

Value

Numeric vector of scores with metric as names

Examples

1
evaluate_regression(c(2, 4, 6), c(1.5, 4.1, 6.2))

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