Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

statsmodels AR deprecated in v0.11 #912

Merged
merged 1 commit into from
Dec 15, 2021

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants