Skip to main content

Add your description here

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

medilinda_ml-0.1.6.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

medilinda_ml-0.1.6-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file medilinda_ml-0.1.6.tar.gz.

File metadata

  • Download URL: medilinda_ml-0.1.6.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for medilinda_ml-0.1.6.tar.gz
Algorithm Hash digest
SHA256 5e9668c62045d449ec631033748461d489dc83ba65318bcb26a4a087f921cd8b
MD5 5064c9a3fa2aa1682f29aa31c6d4c1e4
BLAKE2b-256 589e65596d5369ab939b7dafa2bf6f6fe64b48925127449faf8777dbd42adf35

See more details on using hashes here.

Provenance

The following attestation bundles were made for medilinda_ml-0.1.6.tar.gz:

Publisher: python-publish.yml on kraigochieng/medilinda

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file medilinda_ml-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: medilinda_ml-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for medilinda_ml-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ff79d27c36cfc1a1ac0d288f6cb2b35a50bca9fa7319e1045a7f7d2fdf70661c
MD5 81b0c7ca74607488e1209d6d6fa8753a
BLAKE2b-256 2ec8687fbfad5745696e0f3828df0b60dda46f13a3d2e4eb2af8e5726f527f35

See more details on using hashes here.

Provenance

The following attestation bundles were made for medilinda_ml-0.1.6-py3-none-any.whl:

Publisher: python-publish.yml on kraigochieng/medilinda

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page