Skip to content

Commit

Permalink
Fix allowdrift and allowmean in non-stepwise AutoARIMA (#828)
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-calzolari authored Apr 24, 2024
1 parent 057cacd commit e46ece9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-13]
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- name: Clone repo
Expand Down
4 changes: 2 additions & 2 deletions nbs/src/arima.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3014,8 +3014,8 @@
" method=method,\n",
" xreg=xreg,\n",
" offset=offset,\n",
" allowdrift=allowdrift,\n",
" allowmean=allowmean,\n",
" allow_drift=allowdrift,\n",
" allow_mean=allowmean,\n",
" period=m,\n",
" )\n",
" bestfit['lambda'] = blambda\n",
Expand Down
4 changes: 2 additions & 2 deletions statsforecast/arima.py
Original file line number Diff line number Diff line change
Expand Up @@ -2058,8 +2058,8 @@ def auto_arima_f(
method=method,
xreg=xreg,
offset=offset,
allowdrift=allowdrift,
allowmean=allowmean,
allow_drift=allowdrift,
allow_mean=allowmean,
period=m,
)
bestfit["lambda"] = blambda
Expand Down

0 comments on commit e46ece9

Please sign in to comment.