Skip to main content

iMML Logo

A Python package for integrating, processing, and analyzing incomplete multi-modal datasets.

PyPI - Version PyPI - Python Version Read the Docs CI Tests Codecov CodeQL PRs Welcome PyPI - Status GitHub repo size GitHub License Cite

Paper  ·  Overview  ·  Key features  ·  Installation  ·  Usage  ·  Free software  ·  Contribute  ·  Help us  ·  Citation


Overview

Multi-modal learning, where diverse data types are integrated and analyzed together, has emerged as a critical field in artificial intelligence. However, most algorithms assume fully observed data, an assumption that is often unrealistic in real-world scenarios. To address this gap, we have developed iMML, a Python package designed for multi-modal learning with incomplete data.

Overview of iMML for multi-modal learning with incomplete data

Overview of iMML for multi-modal learning with incomplete data.

Key features

The key features of this package are:

  • Coverage: More than 25 methods for integrating, processing, and analyzing incomplete multi-modal datasets implemented as a single, user-friendly interface.
  • Comprehensive: Designed to be compatible with widely-used machine learning and data analysis tools, allowing use with minimal programming effort.
  • Extensible: A unified framework where researchers can contribute and integrate new approaches, serving as a community platform for hosting new methods.

Installation

Run the following command to install the most recent release of iMML using pip:

pip install imml

Or if you prefer uv, use:

uv pip install imml

Some features of iMML rely on optional dependencies. To enable these additional features, ensure you install the required packages as described in our documentation: https://imml.readthedocs.io/stable/main/installation.html.

Usage

For this example, we will generate a random multi-modal dataset, that we have called Xs:

import numpy as np
Xs = [np.random.random((10,5)) for i in range(3)] # or your multi-modal dataset

You can use any other complete or incomplete multi-modal dataset. Once you have your dataset ready, you can leverage the iMML library for a wide range of machine learning tasks, such as:

  • Decompose a multi-modal dataset using MOFA to capture joint information.
from imml.decomposition import MOFA
transformed_Xs = MOFA().fit_transform(Xs)
  • Cluster samples from a multi-modal dataset using NEMO to find hidden groups.
from imml.cluster import NEMO
labels = NEMO().fit_predict(Xs)
  • Simulate incomplete multi-modal datasets for evaluation and testing purposes using Amputer.
from imml.ampute import Amputer
transformed_Xs = Amputer(p=0.8).fit_transform(Xs)

Free software

iMML is free software; you can redistribute it and/or modify it under the terms of the BSD 3-Clause License.

Contribute

Our vision is to establish iMML as a leading and reliable library for multi-modal learning across research and applied settings. Our priorities include to broaden algorithmic coverage, improve performance and scalability, strengthen interoperability, and grow a healthy contributor community. Therefore, we welcome practitioners, researchers, and the open-source community to contribute to the iMML project, and in doing so, helping us extend and refine the library for the community. Such a community-wide effort will make iMML more versatile, sustainable, powerful, and accessible to the machine learning community across many domains.

For the full contributing guide, please see:

Help us grow

How you can help iMML grow:

  • 🔥 Try it out and share your feedback.
  • 🤝 Contribute if you are interested in building with us.
  • 🗣️ Share this project with colleagues who deal with multi-modal data.
  • 🌟 And of course… give the repo a star to support the project!

Citation

Google scholar ResearchGate DOI

If you use our package, please cite the following paper:

López, A., Zobolas, J., Dumontier, T. et al. Multi-modal learning with incomplete data. Nat Commun (2026). https://doi.org/10.1038/s41467-026-77212-w

@article{lopez2026multi,
  title={Multi-modal learning with incomplete data},
  author={López, Alberto and Zobolas, John and Dumontier, Tanguy and Aittokallio, Tero},
  journal={Nature Communications},
  year={2026},
  publisher={Nature Publishing Group UK London},
  DOI={https://doi.org/10.1038/s41467-026-77212-w}
}

Metadata

Release files for imml 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imml 0.7.0
File Size Uploaded Provenance Actions
imml-0.7.0.tar.gz 332.0 kB Without provenance Details for imml-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for imml 0.7.0
File Interpreter ABI Platform Actions
imml-0.7.0-py3-none-any.whl Python 3 none any Details for imml-0.7.0-py3-none-any.whl

Total release size: 779.2 kB

Release files / imml-0.7.0.tar.gz

Download URL imml-0.7.0.tar.gz
Size 332.0 kB
Tags Source
SHA-256 checksum
How to use checksums
547dad23ec47707e1b4641a0584727cb82e808c0bbecb3d05f830dad1ea1c680
BLAKE2b-256 checksum
How to use checksums
18a3b8919a4317d3a73a3020da76e64868cbf170187ac062fcd270b560f9088d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / imml-0.7.0-py3-none-any.whl

Download URL imml-0.7.0-py3-none-any.whl
Size 447.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a66959935eb303052c4f0f6e9dccbecd5c49470e255bdad9910368648c2767b1
BLAKE2b-256 checksum
How to use checksums
061d3b3378d1e9df2c8c0f806fe1c268b10c428ffc7ba4cc4412ba552d8f8ba1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for imml 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page