Data Science, Loss Function, Machine Learning, Neural Networks, TensorFlow.
sensitive to outliers, which can dramatically affect the loss because the distance is squared. MAE is used in cases when the training data has a large number of outliers to mitigate this. Here is a standard implementation in TensorFlow — built into the TensorFlow library as well. def mae (y_true,