mae
Mean absolute error performance function
Description
Tip
To use mean absolute error with deep learning, use the trainnet
function and set the loss function to "mae"
, or use the l1loss
function for dlarray
objects.
takes a matrix or cell array of error vectors, perf
= mae(E
,Y
,X
)E
, and optionally a matrix
or cell array of output vectors, Y
, a vector of all weight and bias
values, X
, and returns network performance as the mean of absolute
errors, perf
.
info = mae('code')
returns useful information for each
code
character vector:
mae('name')
returns the name of this function.mae('pnames')
returns the names of the training parameters.mae('pdefaults')
returns the default function parameters.
Examples
Input Arguments
Output Arguments
More About
Version History
Introduced before R2006a