mae: Compute MAE

View source: R/permutationImportance.R

maeR Documentation

Compute MAE

Description

Compute the mean absolute error between two vectors.

Usage

mae(a, b)

Arguments

a

A numeric vector.

b

A numeric vector.

Value

A numeric scalar.


caretEnsemble documentation built on Sept. 13, 2024, 1:11 a.m.