-
Hi Sean, Good Morning. Thanks a lot for STUMPY and all the support and clarifications you are providing to the community. I am new to Python and STUMPY as well. So I have taken the enormous time and effort to get it working. I am trying to identify patterns in: "Personal Consumption Expenditure" (PCE) as released by BEA. BEA releases around 100+ series to understand different facets of Consumer expenditure. I have also tried the Multidimensional version of STUMPY as well. However, I am not able to understand the 4 attributes/columns of mp (for single series)? Additionally, point me if I am incorrect in understanding that the index of the array (mp) is the location of each segment (m)? Following is my mp: array([[1.626257115121311, 202, -1, 202], I understand this is a very naive question :) Thanks and regards Sammeer |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@Samraw003 Thank you for the question and kind words and welcome to the STUMPY community
I don't mean to get too hung up on this point but can you elaborate on what you mean by "enormous time and effort to get it working". From my personal experience (which may not be representative), it shouldn't take too much time/error to get STUMPY installed and up and running. If that is the case, then we've done something wrong! Perhaps, you can share more?
Admittedly, we could probably do more to clarify in the STUMPY Basics Tutorial exactly what the 4 columns are referring to so I will take a note and add some more details. However, the API documentation provides some limited information. So, starting with a time series, The first column of the So, for the The third column contains the (zero-based) index location, Again, note that any negative index values are "bad" values and indicates that a nearest neighbor could not be found. To reinforce this more concretely, let's use your array as an example:
So, here, the subsequence at Additionally, the subsequence at
Hopefully, the above explanations helps to clarify things but please do not hesitate to ask follow up questions if you have any! I am here to help! |
Beta Was this translation helpful? Give feedback.
-
Hi Sean, Thanks for the super-fast and detailed response. My bad to have mentioned "enormous time and effort to get it working". Actually, it is very jiffy and effortless to run the first code, as the examples are very well explained. That can be done in minutes! Being a new bee to Python it took time in setting up Anaconda, configuring/fingering out db connection, converting the sql data into the correct format in the dataframe. Matplot, pandas and all the other required stuff were Latin to me till now :)!! Also, you did provide a peep into mp in response to #353! I previewed all of your videos, blogs, articles, git discussions and documentation a couple of times to understand mp! I do have some queries on multidimensional patterns that will ask in a bit! Have a great day! Sammeer |
Beta Was this translation helpful? Give feedback.
@Samraw003 Thank you for the question and kind words and welcome to the STUMPY community
I don't mean to get too hung up on this point but can you elaborate on what you mean by "enormous time and effort to get it working". From my personal experience (which may not be representative), it shouldn't take too much time/error to get STUMPY installed and up and running. If that is the case, then we've done something wrong! Perhaps, you can share more?