Skip to content

Add MPdist #46

@seanlaw

Description

@seanlaw

According to the ICDM publication, the calculation of MPdist is pretty straightforward. For two time series, A and B, of identical length and a window size, m, equal to, say, 50:

  1. Compute the matrix profile AB for stumpy.stump(A, m=50, T_B=B, ignore_trivial=False)
  2. Compute the matrix profile BA for stumpy.stump(B, m=50, T_B=A, ignore_trivial=False)
  3. Concatenate both matrix profiles into PABBA
  4. Choose some k that is 5 percent of 2 * n

As mentioned on on page 3 of the above paper, "section, this data structure PABBA
contains all the information we need to compute the MPdist."

The pseudocode can be found here.

The supporting site can be found here

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions