From 679602943416c2484487a241410eaac6bd140ca0 Mon Sep 17 00:00:00 2001 From: Sarah Alnegheimish Date: Sat, 30 Sep 2023 11:29:54 -0400 Subject: [PATCH] add warning --- mlstars/adapters/statsmodels.py | 3 ++- mlstars/primitives/statsmodels.tsa.arima_model.Arima.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mlstars/adapters/statsmodels.py b/mlstars/adapters/statsmodels.py index 7091bdd..e0291b9 100644 --- a/mlstars/adapters/statsmodels.py +++ b/mlstars/adapters/statsmodels.py @@ -4,11 +4,12 @@ from statsmodels.tsa.arima import model _ARIMA_MODEL_DEPRECATION_WARNING = ( - "mstatsmodels.tsa.arima_model.Arima is deprecated " + "statsmodels.tsa.arima_model.Arima is deprecated " "and will be removed in a future version. Please use " "statsmodels.tsa.arima.model.ARIMA instead." ) + class ARIMA(object): """A Wrapper for the statsmodels.tsa.arima.model.ARIMA class.""" diff --git a/mlstars/primitives/statsmodels.tsa.arima_model.Arima.json b/mlstars/primitives/statsmodels.tsa.arima_model.Arima.json index 2eac295..a43b15f 100644 --- a/mlstars/primitives/statsmodels.tsa.arima_model.Arima.json +++ b/mlstars/primitives/statsmodels.tsa.arima_model.Arima.json @@ -3,7 +3,7 @@ "contributors": [ "Alexander Geiger " ], - "description": "ARIMA Model", + "description": "ARIMA Model; mstatsmodels.tsa.arima_model.Arima is deprecated and will be removed in a future version. Please use statsmodels.tsa.arima.model.ARIMA instead.", "classifiers": { "type": "estimator", "subtype": "regressor"