-
Notifications
You must be signed in to change notification settings - Fork 58
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 "Temporal" option to pca fullfr #583
Conversation
temporal (boolean) : Whether to use rather left or right singularvectors
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## master #583 +/- ##
==========================================
- Coverage 63.78% 63.56% -0.22%
==========================================
Files 56 56
Lines 12172 12208 +36
==========================================
- Hits 7763 7759 -4
- Misses 4409 4449 +40
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
+ add test for the modes + add warning for incompatible modes
Oupsi
+ Add cases to not compute U if not asked for modes ('eigen', 'eigencupy', 'eigenpytorch')
It always returns the 3 values.
Not taking into account the pixels under the mask when computing temporal pc's required to discard those pixels from the vectorized images. This is done in prepare_matrix() : If, discard_mask_pix is set to True, Then, mask_circle is asked to return a boolean mask instead of a masked array The array is truncated accordingly to the boolean mask before being flattened. Then, _svd_wrapper takes into account the spatially truncated vectors to compute the full temporal pc's. Then project the full matrix (with regular 0-filled mask) on the pc's 👍
Thanks a lot @Sand-jrd ! |
temporal (boolean) : Whether to use rather left or right singularvectors