Skip to content

Commit

Permalink
Address #493
Browse files Browse the repository at this point in the history
  • Loading branch information
tgsmith61591 committed Apr 16, 2022
1 parent c6ace44 commit 2e8a01c
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Other versions

Documentation for other release versions of ``pmdarima``:

* `v2.0.0 <http://alkaline-ml.com/pmdarima/2.0.0>`_
* `v1.8.5 <http://alkaline-ml.com/pmdarima/1.8.5>`_
* `v1.8.4 <http://alkaline-ml.com/pmdarima/1.8.4>`_
* `v1.8.3 <http://alkaline-ml.com/pmdarima/1.8.3>`_
Expand Down
11 changes: 11 additions & 0 deletions doc/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ What's new in pmdarima
As new releases of pmdarima are pushed out, the following list (introduced in
v0.8.1) will document the latest features.

`v2.0.0 <http://alkaline-ml.com/pmdarima/2.0.0>`_
-------------------------------------------------

* Remove deprecation warnings for the ``exogenous`` keyword introduced in 1.8.0

* Remove deprecation warnings for the ``sarimax_kwargs`` keyword introduced in 1.5.1

* Bump numpy dependency to >= 1.21

* Expose ``fittedvalues`` in the public API. See `#493 <https://github.com/alkaline-ml/pmdarima/issues/493>`_

`v1.8.6 <http://alkaline-ml.com/pmdarima/1.8.6>`_
-------------------------------------------------

Expand Down
11 changes: 11 additions & 0 deletions pmdarima/arima/arima.py
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,17 @@ def df_resid(self):
"""
return self.arima_res_.df_resid

@if_delegate_has_method('arima_res_')
def fittedvalues(self):
"""Get the fitted values from the model
Returns
-------
fittedvalues : array-like
The predicted values for the original series
"""
return self.arima_res_.fittedvalues

@if_delegate_has_method('arima_res_')
def hqic(self):
"""Get the Hannan-Quinn Information Criterion:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
joblib>=0.11
Cython>=0.29,!=0.29.18
numpy>=1.19.3
numpy>=1.21
pandas>=0.19
scikit-learn>=0.22
scipy>=1.3.2
Expand Down

0 comments on commit 2e8a01c

Please sign in to comment.