Skip to main content

Medilinda-ML 💊

PyPI version License: MIT Python Version

A complete machine learning pipeline to predict the causality of Adverse Drug Reactions (ADRs) from patient and medication data. This package provides tools for data preprocessing, feature engineering, model training, and evaluation, with seamless MLflow integration for experiment tracking.

Overview

The goal of Medilinda-ML is to provide a reproducible and easy-to-use system for assessing the likelihood that a suspected drug is the cause of an adverse reaction. The pipeline is built with scikit-learn and handles common challenges in clinical data, such as missing values and class imbalance (using SMOTE).

Features

  • End-to-End Pipeline: From raw data to a trained model.
  • Feature Engineering: Automatically calculates features like patient BMI, drug administration duration, and more.
  • Class Imbalance Handling: Uses SMOTE to create a balanced dataset for training.
  • Hyperparameter Tuning: Leverages RandomizedSearchCV to find the best model configuration.
  • Experiment Tracking: Integrated with MLflow to log parameters, metrics, and models.

Installation

Install Medilinda-ML directly from PyPI:

pip install medilinda-ml

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Metadata

Release files for medilinda-ml 0.1.9

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

Source distribution (sdist)

Source distribution for medilinda-ml 0.1.9
File Size Uploaded
medilinda_ml-0.1.9.tar.gz 12.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for medilinda-ml 0.1.9
File Interpreter ABI Platform
medilinda_ml-0.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 27.0 kB

Release files / medilinda_ml-0.1.9.tar.gz

Download URL medilinda_ml-0.1.9.tar.gz
Size 12.7 kB
Tags Source
SHA-256 checksum
How to use checksums
22198c1db9d0d664865a66cf4b61ec700c9365c611bf3f5c0cbcc55b8465b622
BLAKE2b-256 checksum
How to use checksums
efbc16fde373c29e21f6dcef5b8d8f201762ea7d0f9472d2b3c8e761f8f55fc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Oct 29, 2025.

Transparency log

Release files / medilinda_ml-0.1.9-py3-none-any.whl

Download URL medilinda_ml-0.1.9-py3-none-any.whl
Size 14.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63893ae60075e470f4f74d32139d8993c2ee4a092dbe5284037ea741b14e6db1
BLAKE2b-256 checksum
How to use checksums
38bc623726e9f4a93b13721ec68d3e3177eb10c9efda2d07d93136349d9b24c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Oct 29, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.9 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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