Pyrcca: Regularized Kernel Canonical Correlation Analysis in Python and Its Applications to Neuroimaging
- PMID: 27920675
- PMCID: PMC5118469
- DOI: 10.3389/fninf.2016.00049
Pyrcca: Regularized Kernel Canonical Correlation Analysis in Python and Its Applications to Neuroimaging
Abstract
In this article we introduce Pyrcca, an open-source Python package for performing canonical correlation analysis (CCA). CCA is a multivariate analysis method for identifying relationships between sets of variables. Pyrcca supports CCA with or without regularization, and with or without linear, polynomial, or Gaussian kernelization. We first use an abstract example to describe Pyrcca functionality. We then demonstrate how Pyrcca can be used to analyze neuroimaging data. Specifically, we use Pyrcca to implement cross-subject comparison in a natural movie functional magnetic resonance imaging (fMRI) experiment by finding a data-driven set of functional response patterns that are similar across individuals. We validate this cross-subject comparison method in Pyrcca by predicting responses to novel natural movies across subjects. Finally, we show how Pyrcca can reveal retinotopic organization in brain responses to natural movies without the need for an explicit model.
Keywords: Python; canonical correlation analysis; covariance analysis; cross-subject alignment; fMRI; partial least squares regression.
Figures




References
-
- Barnett T. P., Preisendorfer R. (1987). Origins and levels of monthly and seasonal forecast skill for United States surface air temperatures determined by canonical correlation analysis. Monthly Weather Rev. 115, 1825–1850.
-
- Collette A. (2013). Python and HDF5. Sebastopol, CA: O'Reilly Media, Inc.
-
- Dong L., Zhang Y., Zhang R., Zhang X., Gong D., Valdes-Sosa P. A., et al. . (2015). Characterizing nonlinear relationships in functional imaging data using eigenspace maximal information canonical correlation analysis (emiCCA). NeuroImage 109, 388–401. 10.1016/j.neuroimage.2015.01.006 - DOI - PubMed