Compute the Pan Matrix Profile with a `dask`/`ray` cluster This is based on the SKIMP algorithm. Parameters ---------- client : client A `dask`/`ray` client. Setting up a cluster is beyond the scope of this library. Please refer to the `dask`/`ray` documentatio
| 533 | |
| 534 | |
| 535 | class aamp_stimped(_aamp_stimp): |
| 536 | """ |
| 537 | Compute the Pan Matrix Profile with a `dask`/`ray` cluster |
| 538 | |
| 539 | This is based on the SKIMP algorithm. |
| 540 | |
| 541 | Parameters |
| 542 | ---------- |
| 543 | client : client |
| 544 | A `dask`/`ray` client. Setting up a cluster is beyond the scope of this library. |
| 545 | Please refer to the `dask`/`ray` documentation. |
| 546 | |
| 547 | T : numpy.ndarray |
| 548 | The time series or sequence for which to compute the pan matrix profile |
| 549 | |
| 550 | m_start : int, default 3 |
| 551 | The starting (or minimum) subsequence window size for which a matrix profile |
| 552 | may be computed |
| 553 | |
| 554 | m_stop : int, default None |
| 555 | The stopping (or maximum) subsequence window size for which a matrix profile |
| 556 | may be computed. When `m_stop = None`, this is set to the maximum allowable |
| 557 | subsequence window size |
| 558 | |
| 559 | m_step : int, default 1 |
| 560 | The step between subsequence window sizes |
| 561 | |
| 562 | p : float, default 2.0 |
| 563 | The p-norm to apply for computing the Minkowski distance. Minkowski distance is |
| 564 | typically used with `p` being 1 or 2, which correspond to the Manhattan distance |
| 565 | and the Euclidean distance, respectively. |
| 566 | |
| 567 | Attributes |
| 568 | ---------- |
| 569 | PAN_ : numpy.ndarray |
| 570 | The transformed (i.e., normalized, contrasted, binarized, and repeated) |
| 571 | pan matrix profile |
| 572 | |
| 573 | M_ : numpy.ndarray |
| 574 | The full list of (breadth first search (level) ordered) subsequence window |
| 575 | sizes |
| 576 | |
| 577 | Methods |
| 578 | ------- |
| 579 | update(): |
| 580 | Compute the next matrix profile using the next available (breadth-first-search |
| 581 | (level) ordered) subsequence window size and update the pan matrix profile |
| 582 | |
| 583 | Notes |
| 584 | ----- |
| 585 | `DOI: 10.1109/ICBK.2019.00031 \ |
| 586 | <https://www.cs.ucr.edu/~eamonn/PAN_SKIMP%20%28Matrix%20Profile%20XX%29.pdf>`__ |
| 587 | |
| 588 | See Table 2 |
| 589 | """ |
| 590 | |
| 591 | def __init__( |
| 592 | self, |
no outgoing calls