Stumpi pre-calculated mp #924
-
Hi, I have a question regarding the use of a pre-calculated mp for the stumpi function. For me, it isn't clear how to use the "mp" parameter. My use case:
My restrictions:
Is it possible to update an existing mp that contains information about 1 week of data with 1 day of new data (trying to prevent having to calculate the whole mp every time new data arrives)? Here is a very short implementation demonstrating what I'm trying to do. The vertical line in the first plot marks where Thank you for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 15 replies
-
@tomweb153 Thank you for your question and welcome to the STUMPY community. When you say "Collect a days worth of data", can you please clarify if that is a single data point (representing the whole day) or, say, 24 data points (one data point for each hour of that day)? |
Beta Was this translation helpful? Give feedback.
-
Hi Sean, I have been using the STUMPY for a while, and your work is very impressive—thank you! Similar to a previous question, we are planning to use STUMPY libraries in our streaming device time series data application. The data stream period is one hour. Our plan is to calculate one year of historical data matrix profiles for each device using stumpy.stumpi and create daily inferences for upcoming data streams and merge/update into old matrix profiles that can be used an anomaly detection tasks. It looks like recalculating matrix profiles using stumpy.stump is faster than incremental updates by stumpy.stumpi. Since we have more than 100K devices, this performance comparison is critical for us. Below is a sample code snippet of our use case. We are looking forward to hearing your comments and guidance on this:
and this is the output of the above code:
Looking forward to your insights. Best regards, Khan |
Beta Was this translation helpful? Give feedback.
Thank you for your kind words. It means a lot!
@tomweb153 I'm not sure I fully understand what problem you are facing so please elaborate. There is nothing stopping you fr…