lightning-pose icon indicating copy to clipboard operation
lightning-pose copied to clipboard

implement pca object that handles NaNs

Open themattinthehatt opened this issue 1 year ago • 0 comments

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 avatar Jul 05 '24 21:07 themattinthehatt