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

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.0a2

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.0a2
File Size Uploaded Provenance Actions
mait_pipeline-0.1.0a2.tar.gz 106.5 kB With provenance Details for mait_pipeline-0.1.0a2.tar.gz

Built distribution (wheel)

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

Total release size: 203.6 kB

Release files / mait_pipeline-0.1.0a2.tar.gz

Download URL mait_pipeline-0.1.0a2.tar.gz
Size 106.5 kB
Tags Source
SHA-256 checksum
How to use checksums
14e06137aabe96a1b21f31430c9a392b64343438e83661bead34539d07de0260
BLAKE2b-256 checksum
How to use checksums
1edbb434e8f4d59fc6f910157bac53b9ad4c9ca29d197d173c859c8ddf03157f
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.0a2-py3-none-any.whl

Download URL mait_pipeline-0.1.0a2-py3-none-any.whl
Size 97.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a03eedb0e8bccba2c3f0bc7d2eda322cb7ab339803c9bb919b1862ab78ad2987
BLAKE2b-256 checksum
How to use checksums
ad9f5948f779891497672e30484f1c0e56c7f13362e924114bc463cd3f545f99
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.0a2

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.0a2.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