(self, forecast: np.ndarray, metric: Callable[[np.ndarray, np.ndarray], float])
return {'all': np.round(metric(forecast, self.target_values), 3)}
Evaluate forecasts for Traffic dataset using provided metric.

        :param forecast: Forecasts. Shape: timeseries, time.
        :param metric: Metric function which takes forecast and target values and returns the overall score.
        :return: Dictionary which contains the score rounded to 3 decimal points.
Evaluate forecasts for Traffic dataset using provided metric.
Evaluate forecasts for Traffic dataset using provided metric .
def evaluate(self, forecast: np.ndarray, metric: Callable[[np.ndarray, np.ndarray], float]) -> Dict[str, float]:
        """
        Evaluate forecasts for Traffic dataset using provided metric.

        :param forecast: Forecasts. Shape: timeseries, time.
        :param metric: Metric function which takes forecast and target values and returns the overall score.
        :return: Dictionary which contains the score rounded to 3 decimal points.
        """
        return {'all': np.round(metric(forecast, self.target_values), 3)}
def evaluate ( self , forecast : np . ndarray , metric : Callable [ [ np . ndarray , np . ndarray ] , float ] ) -> Dict [ str , float ] : return { 'all' : np . round ( metric ( forecast , self . target_values ) , 3 ) }