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

Inverse transform for dimensionality reduction algos #103

Open
astrogilda opened this issue Jul 15, 2021 · 1 comment
Open

Inverse transform for dimensionality reduction algos #103

astrogilda opened this issue Jul 15, 2021 · 1 comment

Comments

@astrogilda
Copy link

Description

Hello! Is there a way to inverse_transform any of the 'approximation' methods? I have a dataset of simple 20,0001D timeseries only 30 units long (i.e., [20,000 x 30]) and I want to reduce this to say 5 (i.e. to [20,000 x 5]). So far I have been using PCA and kernel PCA, neither of which are meant for time series work, and I would like to compare performance with the various algorithms in this package, but unfortuantely I did not find a way to inverse-transform the reduced time series.

Steps/Code to Reproduce

<< your code here >>

Versions

@johannfaouzi
Copy link
Owner

Hi,

Sorry for the delayed response. In the approximation submodule there are two kinds of algorithms:

Finally pyts.approximation.SymbolicFourierApproximation is the pipeline of pyts.approximation.DiscreteFourierTransform followed by pyts.approximation.MultipleCoefficientBinning.

It's also important to note most of these algorithms learn the approximation of each time series independently, and therefore these algorithms do not learn to reduce the original feature space (like PCA or KernelPCA that learn a projection of the original feature space onto a subspace).

Back to your question, it means that:

I will try work on this in the near future! Let me know what you think.

Best,
Johann

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

2 participants