Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

MAIT — Medical Artificial Intelligence Toolbox

License, third-party components, and intended use

MAIT's own source code is distributed under the MIT License; see LICENSE for its terms, warranty disclaimer, and limitation of liability. The existing PERSIMUNE copyright notice is retained.

Third-party libraries, datasets, and other components retain their respective licenses and notices. MAIT's MIT License does not relicense those components or override their conditions. Some dependencies impose additional requirements or restrictions, including restrictions on commercial use or redistribution. See THIRD_PARTY_NOTICES.md and the applicable component's license. This notice does not establish that every combination or use is license-compatible.

MAIT is intended for research and methodological exploration. It has not been validated for clinical decision-making, diagnosis, or treatment. Example results and successful software execution do not establish clinical safety, effectiveness, or suitability for a particular purpose.

Users should independently assess data quality, study design, model assumptions, validation, and applicable legal and ethical requirements before relying on results. No commitment to ongoing maintenance or support is made unless separately agreed in writing.

Developer attribution identifies contributions to the software; it does not imply endorsement or approval by a current or former employer or institution.

MAIT provides explainable machine-learning workflows for tabular research data. This alpha package offers a CPU classification demonstration using Logistic Regression and Random Forest, with evaluation tables, a saved model, and explanation plots.

Install and run

python -m pip install "mait-pipeline[analysis]"
mait demo ./my-mait-demo

These commands apply after the PyPI release is published. For the trial release, install the MAIT wheel from TestPyPI separately from analysis dependencies sourced from PyPI. For a repository checkout, use python -m pip install ".[analysis]".

Choose a new output directory. The demo command runs the pipeline in a separate process and saves its input data, configured script, and results there. It does not modify your notebook's working directory.

To export the script without running it:

mait export-demo ./my-export

Or in Python:

from mait import export_demo
script = export_demo("./my-export")

Scope and validation

The installed demo completed on Apple Silicon macOS with Python 3.11, including a fresh analysis-environment installation and installation of the uploaded TestPyPI wheel. Other platforms, model combinations, survival analysis, regression, and equivalence to historical versions remain unverified. This small demonstration does not establish clinical predictive performance.

The analysis extra still includes legacy dependencies that will be separated as MAIT becomes a modular library. LightGBM is excluded; its separate lightgbm extra also needs a native OpenMP runtime on macOS.

The packaged template is synchronized with the repository tutorial template and checked automatically. See the source repository for methods, tutorials, limitations, and release instructions.

Citation

Ramtin Zargari Marandi, Anne Svane Frahm, Jens Lundgren, Daniel Dawson Murray, and Maja Milojevic. Medical artificial intelligence toolbox (MAIT): an explainable machine learning framework for binary classification, survival modelling, and regression analyses. 2025. https://doi.org/10.48550/arXiv.2501.04547

Metadata

Release files for mait-pipeline 0.1.0a3

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

Source distribution (sdist)

Source distribution for mait-pipeline 0.1.0a3
File Size Uploaded Provenance Actions
mait_pipeline-0.1.0a3.tar.gz 110.0 kB With provenance Details for mait_pipeline-0.1.0a3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mait-pipeline 0.1.0a3
File Interpreter ABI Platform Actions
mait_pipeline-0.1.0a3-py3-none-any.whl Python 3 none any Details for mait_pipeline-0.1.0a3-py3-none-any.whl

Total release size: 210.7 kB

Release files / mait_pipeline-0.1.0a3.tar.gz

Download URL mait_pipeline-0.1.0a3.tar.gz
Size 110.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fdc977e6f2ed099a48a8df656e39095d9432e550da6652d063f982c84af6af96
BLAKE2b-256 checksum
How to use checksums
bc417fd773323df51a98cbe9f38a4c4b74d3b1dc008194f5e5ba6138adbc906e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Release files / mait_pipeline-0.1.0a3-py3-none-any.whl

Download URL mait_pipeline-0.1.0a3-py3-none-any.whl
Size 100.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7019e55b0000e3ecaa0566d27a75974a275433242efa2559feea6387e050465d
BLAKE2b-256 checksum
How to use checksums
a95e5dccb34d3f6fd06f33d053cfff5aafa342fa294aef02a6aef5acd2a26da5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

Security for mait-pipeline 0.1.0a3

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for mait_pipeline-0.1.0a3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 3, 2026.

Transparency log

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