50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

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")

Copy Link

Version

Install

install.packages('CMF')

Monthly Downloads

257

Version

1.0.3

License

GPL (>= 2)

Maintainer

Felix Held

Last Published

August 9th, 2022