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
acf() got an unexpected keyword argument 'unbiased' #902
Comments
I opened the same issue, but it is a duplicate with #897 |
I encountered the same issue today |
Temporarily reverting to statsmodel 0.12.1 fixes this
|
According to statsmodels' official document, 'unbiased' of the function acf has been changed to 'adjusted' since version 0.12. v0.11: https://www.statsmodels.org/v0.11.0/generated/statsmodels.tsa.stattools.acf.html?highlight=acf |
Same issue on M1 using miniforge3 and it worked with statsmodels@0.12.1 |
The problem: acf() got an unexpected keyword argument 'unbiased' when using the extract features function.
The error log is as follows:
"""
Traceback (most recent call last):
File "/Applications/Anaconda3/anaconda3/envs/py38/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/Applications/Anaconda3/anaconda3/envs/py38/lib/python3.8/site-packages/tsfresh/utilities/distribution.py", line 43, in _function_with_partly_reduce
results = list(itertools.chain.from_iterable(results))
File "/Applications/Anaconda3/anaconda3/envs/py38/lib/python3.8/site-packages/tsfresh/utilities/distribution.py", line 42, in
results = (map_function(chunk, **kwargs) for chunk in chunk_list)
File "/Applications/Anaconda3/anaconda3/envs/py38/lib/python3.8/site-packages/tsfresh/feature_extraction/extraction.py", line 337, in _do_extraction_on_chunk
return list(_f())
File "/Applications/Anaconda3/anaconda3/envs/py38/lib/python3.8/site-packages/tsfresh/feature_extraction/extraction.py", line 317, in _f
result = func(x, param=parameter_list)
File "/Applications/Anaconda3/anaconda3/envs/py38/lib/python3.8/site-packages/tsfresh/feature_extraction/feature_calculators.py", line 404, in agg_autocorrelation
a = acf(x, unbiased=True, fft=n > THRESHOLD_TO_USE_FFT, nlags=max_maxlag)[1:]
TypeError: acf() got an unexpected keyword argument 'unbiased'
"""
Anything else we need to know?:
Environment:
The text was updated successfully, but these errors were encountered: