Learn R Programming

caretEnsemble (version 4.0.1)

mae: Compute MAE

Description

Compute the mean absolute error between two vectors.

Usage

mae(a, b)

Value

A numeric scalar.

Arguments

a

A numeric vector.

b

A numeric vector.