Skip to content

statsmodels AR deprecated in v0.11#912

Merged
kempa-liehr merged 1 commit intoblue-yonder:mainfrom
benman1:fix_requirements
Dec 15, 2021
Merged

statsmodels AR deprecated in v0.11#912
kempa-liehr merged 1 commit intoblue-yonder:mainfrom
benman1:fix_requirements

Conversation

@benman1
Copy link
Contributor

@benman1 benman1 commented Nov 18, 2021

If you take an up-to-date install of statsmodels this will fail with tsfresh with the following error:

settings = ComprehensiveFCParameters() extract_features(data, column_id='Time', default_fc_parameters=settings) NotImplementedError: AR has been removed from statsmodels and replaced with statsmodels.tsa.ar_model.AutoReg. 

This was deprecated. Any version before [0.11.0]((https://www.statsmodels.org/dev/release/version0.11.html) should do. This is a quick fix to avoid the problem.

@codecov-commenter
Copy link

codecov-commenter commented Dec 15, 2021

Codecov Report

Merging #912 (22c0068) into main (28dff2b) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@ Coverage Diff @@ ## main #912 +/- ## ======================================= Coverage 95.34% 95.34% ======================================= Files 18 18 Lines 1867 1867 Branches 368 392 +24 ======================================= Hits 1780 1780 Misses 47 47 Partials 40 40 

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 28dff2b...22c0068. Read the comment docs.

@kempa-liehr kempa-liehr merged commit 6d4dd9f into blue-yonder:main Dec 15, 2021
@kempa-liehr
Copy link
Collaborator

Hi @benman1,
Thanks for the workaround. Actually, I stumbled upon the same error today in one of my projects.
Cheers,
Andreas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants