code: def mase(
      target: np.ndarray,
      forecast: np.ndarray,
      seasonal_error: float,
  ) -> float:
      r"""
      .. math::
  
          mase = mean(|Y - \hat{Y}|) / seasonal\_error
  
      See [HA21]_ for more details.
      """
      return np.mean(np.abs(target - forecast)) / seasonal_error
  
file_path: gluonts/src/gluonts/evaluation/metrics.py
imports: from typing import Optional
  import numpy
  from gluonts.time_feature import get_seasonality
label_desc: Use image node_id 6 for calling a global function with example usage: mase(target, forecast, seasonal_error) and returns: unknown