Skip to content

mstump input versus output order #1091

Jul 28, 2025 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

It's not your fault. Multi-dimensional matrix profiles are a very hard concept to grasp so please give yourself a lot of credit for wanting to persist. Not many people have gotten this far and gave up. Again, feel free to ask clarifying questions to improve your understanding.

I just got very lost in the for "k, dim_name in enumerate(df.columns):" loop

If you haven't figured it out already, k represents the "subset of dimensions (i.e., which subset of time series to pick from). So, if there are 3 time series signals, then for k == 1, it is finding one subsequence amongst the three (vertically aligned) subsequences that has the smallest nearest neighbor distance. Then it repeats this for…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@jh72ie
Comment options

@seanlaw
Comment options

@jh72ie
Comment options

@seanlaw
Comment options

Answer selected by jh72ie
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants