Fast Pattern Matching across 4 or 5 different time series #541
-
Given a time series with historical temperature data - obs(t) and another time series with temperature forecast - yhat(t), I can follow this tutorial (https://github.com/TDAmeritrade/stumpy/blob/main/docs/Tutorial_Pattern_Matching.ipynb) to identify any patterns observed in the historical temperature data that matches the temperature forecast time series. This is very impressive. I have another use case. Lets say, I have 4 historical time series data namely temp_obs(t), humidity_obs(t), windspeed_obs(t), precipitation _obs(t) and 4 forecast time series namely temp_forecast(t), humidity_forecast(t), windspeed_forecast(t), precipitation _forecast(t). I would like to identify dates/days where forecast time series pattern matches historical time series. Is there any existing tutorial that can help me with this by finding patterns across 4 different time series and providing a single matrix profile? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
If you want to search for motifs in the same physical quantity, then you want to perform an AB-Join.
Maybe the Another data mining task is to search for multidimensional motifs. |
Beta Was this translation helpful? Give feedback.
If you want to search for motifs in the same physical quantity, then you want to perform an AB-Join.
stumpy.stump(T_A = temp_obs, m=???, T_B=temp_forecast, ignore_trivial=False, normalize=???)
The parameters (m, normalize) are domain dependent.
Maybe the
ostinato
algorithm could be useful (see https://stumpy.readthedocs.io/en/latest/Tutorial_Consensus_Motif.html).Another data mining task is to search for multidimensional motifs.
If the time-axis is synchronized across all t_obs, you can interpret the recordings as a single 4-D timeseries.
If you interpret the problem as 4D-Timeseries, you also need to analyze the interpretation of a 4D-Distance-Measure for pattern-similarity.
The problem…