Closed lukedyer-peak closed 1 year ago
I am writing just to notify you that I see the issue. It lies not in input data not being positive but starting state used for calculations (and being calculated inside TBATS) being negative. I am considering on how to approach it.
Hello, anything changed with this issue? I have the same problem
Unfortunately it is still not fixed.
I have just released a new version with a fix.
It seems that sometimes the model parameters can be negative but we are trying to apply a box-cox transformation to them (c.f. https://github.com/intive-DataScience/tbats/blob/ebb914d80c1b472f0756478073fd68ccbbcd3eae/tbats/abstract/ModelParams.py#L213-L216).
When I find what the min value that has been passed to the box-cox transformation it is
min(y) = -21....
.The min value of my timeseries is 1 and has length 104.
The model is:
TBATS(seasonal_periods=[52], n_jobs=1, box_cox_bounds=(-2, 2))
See the following traceback:
Package versions:
Let me know if you want to know anything else.