get_perf_metric_fn: Get default performance metric function

Description Usage Arguments Value Author(s) Examples

View source: R/performance_metrics.R

Description

Get default performance metric function

Usage

1
get_perf_metric_fn(outcome_type)

Arguments

outcome_type

Type of outcome (one of: "continuous","binary","multiclass").

Value

Performance metric function.

Author(s)

Zena Lapp, zenalapp@umich.edu

Examples

1
2
3
get_perf_metric_fn("continuous")
get_perf_metric_fn("binary")
get_perf_metric_fn("multiclass")

SchlossLab/mikropml documentation built on Nov. 25, 2021, 1:13 p.m.