MatCoupLy: Learning coupled matrix factorizations with Python

Published in SoftwareX, 2023

Recommended citation: Roald M, MatCoupLy: Learning coupled matrix factorizations with Python. SoftwareX. 2023;21:101292. https://www.sciencedirect.com/science/article/pii/S2352711022002102

Coupled matrix factorization (CMF) models jointly decompose a collection of matrices with one shared mode. For interpretable decompositions, constraints are often needed, and variations of constrained CMF models have been used in various fields, including data mining, chemometrics and remote sensing. Although such models are broadly used, there is a lack of easy-to-use, documented, and open-source implementations for fitting CMFs with user-specified constraints on all modes. We address this need with MatCoupLy, a Python package that implements a state-of-the-art algorithm for CMF and PARAFAC2 that supports any proximable constraint on any mode. This paper outlines the functionality of MatCoupLy, including three examples demonstrating the flexibility and extendibility of the package.