Marcnuth / AnomalyDetection

Twitter's Anomaly Detection in Pure Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exception with latest statsmodels library

abdulsami5 opened this issue · comments

Latest statsmodel==0.13.0 is released on October, 2nd 2021.
After that I started getting this issue in tad/anomaly_detect_ts.py:411.

decomposed = sm.tsa.seasonal_decompose(data, freq=num_obs_per_period, two_sided=False)
TypeError: seasonal_decompose() got an unexpected keyword argument 'freq'

Warning with statsmodel==0.12.2.
tad/anomaly_detect_ts.py:412: FutureWarning: the 'freq'' keyword is deprecated, use 'period' instead data, freq=num_obs_per_period, two_sided=False)