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

implement pca object that handles NaNs #184

Merged
merged 1 commit into from
Jul 8, 2024
Merged

implement pca object that handles NaNs #184

merged 1 commit into from
Jul 8, 2024

Conversation

themattinthehatt
Copy link
Collaborator

The current PCA code used for computing both the Pose PCA and Multiview PCA subspaces does not allow for NaN entries in the hand labels. This limitation requires us to throw out a bunch of data. This PR addresses this issue by creating a new PCA class that inherits from the scikit-learn PCA class but uses nanmean and nancov functions from numpy.

Closes #169

@themattinthehatt themattinthehatt merged commit da33746 into main Jul 8, 2024
@themattinthehatt themattinthehatt deleted the nanpca branch July 8, 2024 21:26
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

Successfully merging this pull request may close these issues.

cannot fit PCA with 0 samples < 40 observation dimensions
1 participant