Learn R Programming

IRon (version 0.1.4)

mae: Standard Evaluation Metrics

Description

Mean Average Error

Usage

mae(trues, preds)

Value

Value for the mean average error

Arguments

trues

Target values from a test set of a given data set. Should be a vector and have the same size as the variable preds

preds

Predicted values given a certain test set of a given data set. Should be a vector and have the same size as the variable trues