Skip to content

Commit

Permalink
Update the docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
cnhwl committed Dec 31, 2024
1 parent a62f9f3 commit b05eb8a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions darts/ad/anomaly_model/anomaly_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,8 @@ def show_anomalies(
Default: "AUC_ROC".
score_kwargs
parameters for the `score()` method.
multivariate_plot
If True, it will separately plot each component in multivariate series.
"""
series = _check_input(series, name="series", num_series_expected=1)[0]
predict_kwargs = predict_kwargs if predict_kwargs is not None else {}
Expand Down
2 changes: 2 additions & 0 deletions darts/ad/anomaly_model/forecasting_am.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@ def show_anomalies(
Optionally, the name of the metric function to use. Must be one of "AUC_ROC" (Area Under the
Receiver Operating Characteristic Curve) and "AUC_PR" (Average Precision from scores).
Default: "AUC_ROC".
multivariate_plot
If True, it will separately plot each component in multivariate series.
score_kwargs
parameters for the `score()` method.
"""
Expand Down
2 changes: 2 additions & 0 deletions darts/ad/scorers/scorers.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ def show_anomalies_from_prediction(
Optionally, the name of the metric function to use. Must be one of "AUC_ROC" (Area Under the
Receiver Operating Characteristic Curve) and "AUC_PR" (Average Precision from scores).
Default: "AUC_ROC".
multivariate_plot
If True, it will separately plot each component in multivariate series.
"""
series = _check_input(series, name="series", num_series_expected=1)[0]
pred_series = _check_input(
Expand Down

0 comments on commit b05eb8a

Please sign in to comment.