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