cmfrec: Collective Matrix Factorization for Recommender Systems

Collective matrix factorization (a.k.a. multi-view or multi-way factorization, Singh, Gordon, (2008) <doi:10.1145/1401890.1401969>) tries to approximate a (potentially very sparse or having many missing values) matrix 'X' as the product of two low-dimensional matrices, optionally aided with secondary information matrices about rows and/or columns of 'X', which are also factorized using the same latent components. The intended usage is for recommender systems, dimensionality reduction, and missing value imputation. Implements extensions of the original model (Cortes, (2018) <doi:10.48550/arXiv.1809.00366>) and can produce different factorizations such as the weighted 'implicit-feedback' model (Hu, Koren, Volinsky, (2008) <doi:10.1109/ICDM.2008.22>), the 'weighted-lambda-regularization' model, (Zhou, Wilkinson, Schreiber, Pan, (2008) <doi:10.1007/978-3-540-68880-8_32>), or the enhanced model with 'implicit features' (Rendle, Zhang, Koren, (2019) <doi:10.48550/arXiv.1905.01395>), with or without side information. Can use gradient-based procedures or alternating-least squares procedures (Koren, Bell, Volinsky, (2009) <doi:10.1109/MC.2009.263>), with either a Cholesky solver, a faster conjugate gradient solver (Takacs, Pilaszy, Tikk, (2011) <doi:10.1145/2043932.2043987>), or a non-negative coordinate descent solver (Franc, Hlavac, Navara, (2005) <doi:10.1007/11556121_50>), providing efficient methods for sparse and dense data, and mixtures thereof. Supports L1 and L2 regularization in the main models, offers alternative most-popular and content-based models, and implements functionality for cold-start recommendations and imputation of 2D data.

Version: 3.5.1-3
Suggests: Matrix, MatrixExtra, RhpcBLASctl, recosystem (≥ 0.5), recommenderlab (≥ 0.2-7), MASS, knitr, rmarkdown, kableExtra
Published: 2023-12-09
DOI: 10.32614/CRAN.package.cmfrec
Author: David Cortes [aut, cre, cph], Jorge Nocedal [cph] (Copyright holder of included LBFGS library), Naoaki Okazaki [cph] (Copyright holder of included LBFGS library), David Blackman [cph] (Copyright holder of original Xoshiro code), Sebastiano Vigna [cph] (Copyright holder of original Xoshiro code), NumPy Developers [cph] (Copyright holder of formatted ziggurat tables)
Maintainer: David Cortes <david.cortes.rivera at>
License: MIT + file LICENSE
Copyright: see file COPYRIGHTS
NeedsCompilation: yes
In views: MissingData
CRAN checks: cmfrec results


Reference manual: cmfrec.pdf
Vignettes: Matrix Factorization with Side Info


Package source: cmfrec_3.5.1-3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): cmfrec_3.5.1-3.tgz, r-oldrel (arm64): cmfrec_3.5.1-3.tgz, r-release (x86_64): cmfrec_3.5.1-3.tgz, r-oldrel (x86_64): cmfrec_3.5.1-3.tgz
Old sources: cmfrec archive

Reverse dependencies:

Reverse suggests: recometrics


Please use the canonical form to link to this page.