code: def smape(actual, prediction):
      filtered = np.abs(actual) > EPS
      actual = actual[filtered]
      prediction = prediction[filtered]
      return 2 * np.mean(
          np.abs(actual - prediction)
          / (np.abs(actual) + np.abs(prediction))
      )
  
file_path: orbit/orbit/diagnostics/metrics.py
imports: import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: smape(actual, prediction) and returns: unknown