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.
v1.1.1¶
v1.1.1 is a patch release in response to #104
- Deprecates the
ARIMA.add_new_observationsmethod. This method originally was designed to support updating the endogenous/exogenous arrays with new observations without changing the model parameters, but achieving this behavior for each of statsmodels’ARMA,ARIMAandSARIMAXclasses proved nearly impossible, given the extremely complex internals of statmodels estimators. - Replace
ARIMA.add_new_observationswithARIMA.update. This allows the user to update the model with new observations by takingmaxiternew steps from the existing model coefficients and allowing the MLE to converge to an updated set of model parameters. - Change default
maxiterto None, using 50 for seasonal models and 500 for non-seasonal models (as statsmodels does). The default value used to be 50 for all models. - New behavior in
ARIMA.fitallowsstart_paramsandmaxiterto be passed as**fit_args, overriding the use of their corresponding instance attributes.
v1.1.0¶
- Added
ARIMA.plot_diagnosticsmethod, as requested in #49 - Added new arg to
ARIMAconstructor andauto_arima:with_intercept(default is True). - New default for
trendis no longer'c', it isNone. - Added
to_dictmethod toARIMAclass to address Issue #54 - ARIMA serialization no longer stores statsmodels results wrappers in the cache, but bundles them into the pickle file. This solves Issue #48 and only works on statsmodels 0.9.0+ since they’ve fixed a bug on their end.
- The
'PMDARIMA_CACHE'and'PMDARIMA_CACHE_WARN_SIZE'environment variables are now deprecated, since they no longer need to be used. - Added versioned documentation. All releases’ doc (from 0.9.0 onward) is now available
at
alkaline-ml.com/pmdarima/<version> - Fix bug in
ADFTestwhereOLSwas computed withmethod="pinv"rather than"method=qr". This fix means better parity with R’s results. See #71 for more context. CHTestnow solves linear regression withnormalize=True. This solves #74- Python 3.7 is now supported(!!)
v1.0.0¶
- Wheels will no longer be built for Python versions < 3.5. You may still be able to build from source, but support for 2.x python versions will diminish in future versions.
- Migrate namespace from ‘pyramid-arima’ to ‘pmdarima’. This is due to the fact that a growing web-framework (also named Pyramid) is causing namespace collisions when both packages are installed on a machine. See Issue #34 for more detail.
- Remove redundant Travis tests
- Automate documentation build on Circle CI
- Move lots of the build/test functionality into the
Makefilefor ease. - Warn for impending deprecation of various environment variable name changes. The following
will be completely switched over in version 1.2.0:
'PYRAMID_MPL_DEBUG'will become'PMDARIMA_MPL_DEBUG''PYRAMID_MPL_BACKEND'will become'PMDARIMA_MPL_BACKEND''PYRAMID_ARIMA_CACHE_WARN_SIZE'will become'PMDARIMA_CACHE_WARN_SIZE'
v0.9.0¶
- Explicitly catch case in
auto_arimawhere a value ofmthat is too large may over-estimateD, causing the time series to be differenced down to an empty array. This is now handled by raising a separate error for this case that better explains what happened. - Re-pickling an
ARIMAwill no longer remove the location on disk of the cachedstatsmodelsARIMA models. Older versions encountered an issue where an older version of the model would be reinstated and immediately fail due to an OSError since the cached state no longer existed. This means that a user must be very intentional about clearing out the pyramid cache over time. - Added pyramid cache check on initial import to warn user if the cache size has grown too large.
- If
dorDare explicitly defined forauto_arima(rather thanNone), do not raise an error if they exceedmax_dormax_D, respectively. - Added Circle CI for validating PyPy builds (rather than CPython)
- Deploy python wheel for version 3.6 on Linux and Windows
- Include warning for upcoming package name change (
pmdarima).
v0.8.1¶
ARIMAinstance attributes- The
pkg_version_attribute (assigned on modelfit) is new as of version 0.8.0. On unpickling, if the current Pyramid version does not match the version under which it was serialized, aUserWarningwill be raised.
- The
Addition of the
_config.pyfile at the top-level of the package- Specifies the location of the ARIMA result pickles (see Serializing your ARIMA models)
- Specifies the ARIMA result pickle name pattern
Fix bug (Issue #30) in
ARIMAwhere using CV with differencing and no seasonality caused a dim mismatch in the model’s exog array and its endog arrayNew dataset: Woolyrnq (from R’s
forecastpackage).Visualization utilities available at the top level of the package:
plot_acfplot_pacfautocorr_plot
Updated documentation with significantly more examples and API references.
v0.7.0¶
out_of_sample_sizebehavior inpmdarima.arima.ARIMA- In prior versions, the
out_of_sample_size(OOSS) parameter misbehaved in the sense that it ended up fitting the model on the entire sample, and scoring the number specified. This behavior changed in v0.7.0. Going forward, when OOSS is not None, ARIMA models will be fit on \(n - OOSS\) samples, scored on the last OOSS samples, and the held-out samples are then added to the model.
- In prior versions, the
add_new_samplesmethod added topmdarima.arima.ARIMA- This method adds new samples to the model, effectively refreshing the point from which it creates new forecasts without impacting the model parameters.
- Add confidence intervals on
predictinpmdarima.arima.ARIMA- When
return_conf_intis true, the confidence intervals will now be returned with the forecasts.
- When
v0.6.5¶
pmdarima.arima.CHTestof seasonality- No longer compute the \(U\) or \(V\) matrix in the SVD computation in the Canova-Hansen test. This makes the test much faster.