Skip to main content
QUICK REVIEW

[Paper Review] mvlearn: Multiview Machine Learning in Python

Ronan Perry, Gavin Mischler|arXiv (Cornell University)|May 25, 2020
Computational Physics and Python ApplicationsComputer Science33 references4 citations
TL;DR

mvlearn is a comprehensive, open-source Python library that implements state-of-the-art multiview machine learning methods, enabling non-experts to apply techniques like clustering, semi-supervised learning, and joint representation learning across multiple data views. Designed with a scikit-learn-compatible API, it supports diverse algorithms including CCA, ICA, co-training, and decomposition methods, and includes tools for view generation and data preprocessing to enhance performance on single-view data via multiview techniques.

ABSTRACT

As data are generated more and more from multiple disparate sources, multiview data sets, where each sample has features in distinct views, have ballooned in recent years. However, no comprehensive package exists that enables non-specialists to use these methods easily. mvlearn is a Python library which implements the leading multiview machine learning methods. Its simple API closely follows that of scikit-learn for increased ease-of-use. The package can be installed from Python Package Index (PyPI) and the conda package manager and is released under the MIT open-source license. The documentation, detailed examples, and all releases are available at https://mvlearn.github.io/.

Motivation & Objective

  • Address the lack of a comprehensive, user-friendly Python library for multiview machine learning methods.
  • Enable non-specialists to apply advanced multiview learning techniques through a consistent, scikit-learn-inspired API.
  • Support a broad range of multiview tasks, including clustering, semi-supervised learning, representation learning, and dimensionality reduction.
  • Facilitate the use of multiview methods on single-view data by providing preprocessing tools for view generation via random projections and subsampling.
  • Ensure high code quality, compatibility, and extensibility through continuous integration, unit testing, and open-source contribution model.

Proposed method

  • Adopt a scikit-learn-compatible estimator API with methods like fit(Xs, y), predict(Xs), and transform(Xs), where Xs is a list of view-specific data matrices.
  • Implement multiview algorithms across four core modules: Decomposition (e.g., AJIVE, ICA), Cluster (e.g., MV K-Means, Co-regularized Spectral Clustering), Semi-supervised (e.g., Co-training Classifier/Regressor), and Embed (e.g., CCA, Deep CCA, Omnibus Embedding).
  • Support multiple views (≥2) for most algorithms, with specific methods like Multiview ICA and Kernel Multi-CCA designed for more than two views.
  • Integrate preprocessing tools such as Gaussian random projections and random subspace projections to generate synthetic views from a single data matrix.
  • Provide utilities for data loading (e.g., UCI Multiple Features, Nutrimouse), visualization, and model composition to enable end-to-end multiview workflows.
  • Ensure code quality via PEP8 compliance, over 95% unit test coverage, and continuous integration across Linux, Mac, and PC platforms.

Experimental results

Research questions

  • RQ1Can a unified, accessible Python library significantly lower the barrier to entry for multiview machine learning among non-expert users?
  • RQ2To what extent can multiview methods improve performance on single-view data when synthetic views are generated via random projection or subsampling?
  • RQ3How effectively can a scikit-learn-inspired API be adapted to support multiview data structures without sacrificing flexibility or expressiveness?
  • RQ4What is the impact of multiview learning on downstream tasks like clustering and semi-supervised classification compared to single-view baselines?
  • RQ5How can a modular, extensible open-source library be designed to support diverse multiview algorithms while maintaining consistency and performance?

Key findings

  • mvlearn provides a comprehensive suite of multiview learning algorithms, including AJIVE, Co-regularized Spectral Clustering, and Deep CCA, with support for two or more views.
  • The library enables improved performance on single-view data by generating multiple views through random subspace projections or Gaussian random projections, which can enhance results in clustering and supervised tasks.
  • The scikit-learn-compatible API allows seamless integration with existing machine learning workflows, increasing usability for practitioners and researchers.
  • mvlearn includes preprocessing tools such as view generation via random projections, which can be used to apply multiview methods to single-view datasets and improve performance.
  • The library achieves over 95% code coverage through rigorous unit testing and supports continuous integration, ensuring reliability and backward compatibility.
  • mvlearn is released under the MIT license, is installable via PyPI and conda, and includes detailed documentation and examples, making it accessible for academic and industrial use.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.