开源软件名称(OpenSource Name):machenslab/dPCA开源软件地址(OpenSource Url):https://github.com/machenslab/dPCA开源编程语言(OpenSource Language):Jupyter Notebook 68.5%开源软件介绍(OpenSource Introduction):demixed Principal Component Analysis (dPCA)dPCA is a linear dimensionality reduction technique that automatically discovers and highlights the essential features of complex population activities. The population activity is decomposed into a few demixed components that capture most of the variance in the data and that highlight the dynamic tuning of the population to various task parameters, such as stimuli, decisions, rewards, etc.
This repository provides easy to use Python and MATLAB implementations of dPCA as well as example code. Use dPCASimple example code for surrogate data can be found in dpca_demo.ipynb and dpca_demo.m. Python packageThe Python package is tested against Python 2.7 and Python 3.4. To install, first make sure that numpy, cython, scipy, sklearn, itertools and numexpr are avaible. Then copy the files from the Python subfolder to a location in the Python search path. Alternatively, from the terminal you can install the package by running:
API of dPCA is similar to sklearn. To use dPCA, you should first import dPCA, The required initialization parameters are:
More detailed documentation, and additional options, can be found in dpca.py. MATLAB packageAdd the Matlab subfolder to the Matlab search path. Example code in SupportEmail wieland.brendel@bethgelab.org (Python) or dmitry.kobak@neuro.fchampalimaud.org (Matlab) with any questions. ContributorsA big thanks for 3rd party contributions goes to cboulay. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论