Skip to content

Commit

Permalink
Fix doc formatting of LinearRegressionModel (#2045)
Browse files Browse the repository at this point in the history
* For doc formatting of LinearRegressionModel

* fix other model docs

---------

Co-authored-by: dennisbader <[email protected]>
  • Loading branch information
felixdivo and dennisbader authored Nov 1, 2023
1 parent ea37dc9 commit ae5caa6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions darts/models/forecasting/fft.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ def __init__(
>>> FFT(required_matches={'month'}, trend='exp')
Simple usage example, using one of the dataset available in darts
>>> from darts.datasets import AirPassengersDataset
>>> from darts.models import FFT
>>> series = AirPassengersDataset().load()
Expand Down
1 change: 1 addition & 0 deletions darts/models/forecasting/linear_regression_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def encode_year(idx):
Examples
--------
Deterministic forecasting, using past/future covariates (optional)
>>> from darts.datasets import WeatherDataset
>>> from darts.models import LinearRegressionModel
>>> series = WeatherDataset().load()
Expand Down
1 change: 0 additions & 1 deletion darts/models/forecasting/torch_forecasting_model.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""
TorchForecastingModel
---------------------
This file contains several abstract classes:
Expand Down
1 change: 1 addition & 0 deletions darts/models/forecasting/xgboost.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def encode_year(idx):
Examples
--------
Deterministic forecasting, using past/future covariates (optional)
>>> from darts.datasets import WeatherDataset
>>> from darts.models import XGBModel
>>> series = WeatherDataset().load()
Expand Down

0 comments on commit ae5caa6

Please sign in to comment.