Skip to content

Commit

Permalink
Merge branch 'master' into fix/nbeats-nhits-TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
hrzn authored May 18, 2022
2 parents 19a1cc2 + 8d9bd19 commit 3cc47f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions darts/models/filtering/gaussian_process_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,5 @@ def filter(self, series: TimeSeries, num_samples: int = 1) -> TimeSeries:
else:
filtered_values = self.model.sample_y(times, n_samples=num_samples)

filtered_values = filtered_values.reshape(len(times), -1, num_samples)
return TimeSeries.from_times_and_values(series.time_index, filtered_values)

0 comments on commit 3cc47f1

Please sign in to comment.