Skip to content

Commit

Permalink
Fix the comment of scorers_are_univariate (unit8co#2542)
Browse files Browse the repository at this point in the history
* Fix the comment of scorers_are_univariate

* Update changelog
  • Loading branch information
cnhwl authored and eschibli committed Oct 8, 2024
1 parent f775dfa commit 43a8e5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ but cannot always guarantee backwards compatibility. Changes that may **break co
- Fixed a bug preventing TimeSeries to be divided by xarray or ndarray. [#2476](https://https://github.com/unit8co/darts/pull/2476) by [Joel L.](https://github.com/Joelius300).
- Fixed a bug when using `save()` and `load()` with a `RegressionEnsembleModel` that ensembles any `TorchForecastingModel`. [#2437](https://github.com/unit8co/darts/issues/2437) by [He Weilin](https://github.com/cnhwl).
- Fixed a bug with `CrostonModel`, which actually does not support future covariates. [#2511](https://github.com/unit8co/darts/pull/2511) by [Antoine Madrona](https://github.com/madtoinou).
- Fixed the comment of `scorers_are_univariate` in class `AnomalyModel`. [#2452](https://github.com/unit8co/darts/pull/2542) by [He Weilin](https://github.com/cnhwl).

**Dependencies**

Expand Down
2 changes: 1 addition & 1 deletion darts/ad/anomaly_model/anomaly_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def show_anomalies(

@property
def scorers_are_univariate(self):
"""Whether any of the Scorers is trainable."""
"""Whether any of the Scorers is univariate."""
return any(s.is_univariate for s in self.scorers)

@property
Expand Down

0 comments on commit 43a8e5e

Please sign in to comment.