Absolute value
Say it: "the absolute value of x"
What it means
The distance of from zero, always zero or more: .
Example
Distance ignores direction.
In code
import numpy as np print(np.abs([-7, 3, 2 - 5]))
Output
[7 3 3]
Where it appears in machine learning
Mean absolute error (MAE) averages the absolute differences between predictions and truth.
Related symbols
Learn it properly in the free lesson Numbers, Powers & Algebra, with practice questions that check your answers.