Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add New Class Property #1045

Open
seanlaw opened this issue Nov 7, 2024 · 0 comments
Open

Add New Class Property #1045

seanlaw opened this issue Nov 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@seanlaw
Copy link
Contributor

seanlaw commented Nov 7, 2024

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...

@seanlaw seanlaw added the enhancement New feature or request label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant