code: def horizoned_mase(y, yhat, y_obs, m):
      """Return the mean absolute scaled error over all the horizons.
  
      Args:
          y: An array containing the true values.
          yhat: An array containing the predicted values.
          y_obs: An array containing the training values.
          m: The season length.
  
      Returns:
        A list a, with a[i] containing the MASE over yhat[0] ... yhat[i].
      """
      return [
          mase(y[: i + 1], yhat[: i + 1], y_obs, m)
          for i in range(len(yhat))
      ]
  
imports: import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: horizoned_mase(y, yhat, y_obs, m) and returns: unknown