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