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

does pymde support time series data? #37

Open
ghost opened this issue Jun 9, 2021 · 1 comment
Open

does pymde support time series data? #37

ghost opened this issue Jun 9, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 9, 2021

for example if I have a dataframe shape of (50,1000), 50 samples with time series length of 1000 each

@akshayka
Copy link
Member

Sure, you can embed that with PyMDE.

Is the idea that you want to embed each sample? In that case, you can convert your dataframe into a NumPy array of shape (50, 1000), and use pymde.preserve_neighbors or pymde.preserve_distances to obtain an embedding for each sample.

The documentation explains how to do things like this. Let me know if you have follow-up questions, or if something in the documentation is not clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant