TLViz: Visualising and analysing tensor decomposition models with Python

Published in Journal of Open Source Software (JOSS), 2022

Recommended citation: Roald M, Moe YM. TLViz: Visualising and analysing tensor decomposition models with Python. Journal of Open Source Software. 2022;7(79):4754. https://joss.theoj.org/papers/10.21105/joss.04754

Multi-way data, also known as tensor data or data cubes, occur in many applications, such as text mining (Bader et al., 2008), neuroscience (Andersen & Rayens, 2004) and chemical analysis (Bro, 1997). Uncovering the meaningful patterns within such data can provide crucial insights into the data source, and tensor decompositions have proven an effective tool for this task. In particular, the PARAFAC model, also known as CANDECOMP/PARAFAC (CP) or the canonical polyadic decomposition (CPD), has shown great promise for extracting interpretable components. PARAFAC has, for example, extracted topics from an email corpus (Bader et al., 2008) and chemical spectra from fluorescence spectroscopy data (Bro, 1997). For a thorough introduction to tensor methods, we refer the reader to (Tamara G. Kolda & Bader, 2009) and (Bro, 1997). The goal of TensorLy-Visualisation (TLViz) is to provide utilities for analysing, visualising and working with tensor decompositions for data analysis in Python.