to_metric: Get Metric for Output

Description Usage Arguments Value

View source: R/0-backend.R

Description

This function guesses the metric to use based on the type of outcome provided to y. It chooses from "accuracy" or "mean absolute percent error".

Usage

1

Arguments

y

A matrix or vector. The output data.

Value

A metric.


tpq/caress documentation built on March 11, 2021, 8:03 p.m.