code: def mae(y, y_hat, axis):
      delta_y = np.abs(y - y_hat)
      mae = np.average(delta_y, axis=axis)
      return mae
  
imports: from itertools import product
  import numpy
  import pandas
  from src.data import get_data
label_desc: Use image node_id 1 for calling a global function with example usage: mae(y, y_hat, axis) and returns: mae