code: def _set_scores(self):
          
          anom_scores = {}
          self._generate_SAX()
          self._construct_all_SAX_chunk_dict()
          length = self.time_series_length
          lws = self.lag_window_size
          fws = self.future_window_size
  
          for i, timestamp in enumerate(self.time_series.timestamps):
              if i < lws or i > length - fws:
                  anom_scores[timestamp] = 0
              else:
                  anom_scores[timestamp] = self._compute_anom_score_between_two_windows(i)
          self.anom_scores = TimeSeries(self._denoise_scores(anom_scores))
docs: Compute anomaly scores for the time series by sliding both lagging window and future window.