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

Is there any limitation on size of the matrix for which signature can be calculated? #15

Closed
creator2020A opened this issue Jan 22, 2021 · 2 comments

Comments

@creator2020A
Copy link

I get this when I try to calculate signature:

ab1R=iisignature.sig(dab01Real,2)

ValueError: negative dimensions are not allowed

the size of dab01Real is (2, 304128)

@bottler
Copy link
Owner

bottler commented Jan 22, 2021

This is a massive calculation. It asks for the signature of a 304128-dimensional path up to level 2. The answer will have 92494144512 entries. In single precision floats, it will require over 450 GB to store the result, and the working memory requirement will be several times that. If you are running 32 bit this is impossible. iisignature may not always be careful about making things like this work in 64bit (assuming the memory was available).

If you mean a 2 dimensional path with 304128 points, you need to transpose the input first.

@creator2020A
Copy link
Author

Thank you, yes, mine is 64 bit but do no thave 450 GB.

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