mae
(To be removed) Mean absolute error performance function
mae will be removed in a future release. For more information,
see Transition Legacy Neural Network Code to dlnetwork Workflows.
For advice on updating your code, see Version History.
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 R2006aSee Also
Time Series Modeler | fitrnet (Statistics and Machine Learning Toolbox) | trainnet | trainingOptions | dlnetwork | l1loss