Help with importing dPCA code into colab notebook

Our group is interested in trying to apply dPCA to some of the Steinmetz dataset. However, we’re not sure how to install the dPCA package from the machens lab (https://github.com/machenslab/dPCA) for use in colab. Any advice/pointers/instructions would be very helpful! Thanks!

This seems to work:

!wget https://github.com/machenslab/dPCA/archive/master.tar.gz
!tar -xzf master.tar.gz
!pip install dPCA-master/python
import dPCA
2 Likes

Thank you! yes, that works!

May anyone show working code with dPCA? Github demo was applied to noise and i’m not quite sure my code work well

unfortunately we decided to continue with some other approaches and never had time to fully explore dPCA. hope you are able to figure it out!

MANAGED BY INCF