Collective Matrix Factorization

Collective matrix factorization (CMF) finds joint low-rank representations for a collection of matrices with shared row or column entities. This code learns a variational Bayesian approximation for CMF, supporting multiple likelihood potentials and missing data, while identifying both factors shared by multiple matrices and factors private for each matrix. For further details on the method see Klami et al. (2014) . The package can also be used to learn Bayesian canonical correlation analysis (CCA) and group factor analysis (GFA) models, both of which are special cases of CMF. This is likely to be useful for people looking for CCA and GFA solutions supporting missing data and non-Gaussian likelihoods. See Klami et al. (2013) < https://research.cs.aalto.fi/pml/online-papers/klami13a.pdf> and Virtanen et al. (2012) < http://proceedings.mlr.press/v22/virtanen12.html> for details on Bayesian CCA and GFA, respectively.


Collective Matrix Factorization

Collective matrix factorization (CMF) finds joint low-rank representations for a collection of matrices with shared row or column entities. This code learns a variational Bayesian approximation for CMF, supporting multiple likelihood potentials and missing data, while identifying both factors shared by multiple matrices and factors private for each matrix.

For further details on the method see Klami et al. (2014). The package can also be used to learn Bayesian canonical correlation analysis (CCA) and group factor analysis (GFA) models, both of which are special cases of CMF. This is likely to be useful for people looking for CCA and GFA solutions supporting missing data and non-Gaussian likelihoods.

See Klami et al. (2013) and Virtanen et al. (2012) for details on Bayesian CCA and GFA, respectively.

  • Original package authors: Arto Klami and Lauri Väre
  • Maintainer: Felix Held

Install development version

To install the development version from GitHub, run

devtools::install_github("cyianor/CMF")

New features will be available here first.

Install CRAN version

To install the official CRAN version it is enough to run

install.packages("CMF")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("CMF")

1.0.3 by Felix Held, 4 years ago


Report a bug at https://github.com/cyianor/CMF/issues


Browse source code at https://github.com/cran/CMF


Authors: Arto Klami [aut] , Lauri Väre [aut] , Felix Held [ctb, cre]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports stats

Linking to cpp11


See at CRAN