Skip to content

Add New Class Property #1045

Open
Open
@seanlaw

Description

@seanlaw

Currently, it is very hard to retrieve the raw matrix profile values from the Pan Matrix Profile object and the PAN_ property only returns transformed (i.e., normalized, contrasted, binarized) matrix profiles. One solution is to add a P_ property that will return a list of matrix profiles ordered by BFS:

@property
def P_(self):
    P = []
    for i, idx in enumerate(pmp._bfs_indices):
        P.append(self._PAN[idx][ : len(self._T) - self._M[i] + 1])

    return P

Something like this might work...

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions