lightning-pose
lightning-pose copied to clipboard
implement pca object that handles NaNs
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