Learn R Programming

modeltime (version 1.3.2)

maape_vec: Mean Arctangent Absolute Percentage Error

Description

Wrapper around TSrepr::maape() with yardstick-compatible interface.

Usage

maape_vec(truth, estimate, na_rm = TRUE, case_weights = NULL, ...)

Value

A numeric value representing the Mean Arctangent Absolute Percentage Error.

Arguments

truth

Numeric vector of ground-truth values.

estimate

Numeric vector of predicted values.

na_rm

Logical, whether to remove missing values before computation.

case_weights

Optional numeric vector of non-negative case weights (not used by maape_vec).

...

Additional arguments (not used).