LeeDoYup / RobustSTL

Unofficial Implementation of RobustSTL: A Robust Seasonal-Trend Decomposition Algorithm for Long Time Series (AAAI 2019)
MIT License
271 stars 53 forks source link

memory error #17

Open salman087 opened 3 years ago

salman087 commented 3 years ago

I got this error when used for other data using RobustSTL function. anyone can help, please MemoryError: Unable to allocate 1.54 GiB for an array with shape (14399, 14399) and data type float64

LeeDoYup commented 3 years ago

Could you let me know the shape and memory of the data? In addition, what is your memory size?

salman087 commented 3 years ago

The shape of my array is (3080,1). and the memory for this is 246464 bytes. Thanks

LeeDoYup commented 3 years ago

It's very small data and i didn't have the error when i use this code. The detail errors have to describe to solve the error.

cq-ywh commented 1 year ago

The shape of my array is (43824,1), wrong OverflowError: number of elements exceeds INT_NAX, RobustSTL.py in trend_extraction P=matrix(p)