code: def _score_core_from_prediction(
      self,
      actual_series: TimeSeries,
      pred_series: TimeSeries,
  ) -> TimeSeries:
      self._assert_deterministic(actual_series, "actual_series")
      self._assert_deterministic(pred_series, "pred_series")
  
      diff = actual_series - pred_series
  
      if self.component_wise:
          return diff.map(lambda x: np.abs(x))
  
      else:
          diff_np = diff.all_values(copy=False)
  
          return TimeSeries.from_times_and_values(
              diff.time_index,
              np.linalg.norm(diff_np, ord=self.ord, axis=1),
          )
  
file_path: darts/darts/ad/scorers/norm_scorer.py
imports: import numpy
  from darts.ad.scorers.scorers import NonFittableAnomalyScorer
  from darts.logging import raise_if_not
  from darts.timeseries import TimeSeries
label_desc: Use image node_id 3 for calling the NormScorer obj's underlying member method code with example usage: obj._score_core_from_prediction(actual_series, pred_series) and returns: diff, TimeSeries