In some cases, the mean error ratio and the median absolute error ratio may not be calculated.

Mean absolute error and the median absolute error ratio may not be calculated if the variable you want to predict contains 0 or several very small values.