Skip to main content

pyAKI allows calculation of Acute Kidney Injury from urine output and creatinine based on KDIGO criteria.

Project description

Coverage Status

pyAKI

Python package to detect AKI within time series data.

The goal of this package is to establish well tested, comprehensive functions for the detection of Acute Kidney Injury (AKI) in time series data, according to the Kidney Disease Improving Global Outcomes (KDIGO) Criteria, established in 2012 [^kdigo].

Installation

pip install git+https://github.com/aidh-ms/pyAKI

Usage

import pandas as pd

from pyAKI.probes import Dataset, DatasetType
from pyAKI.kdigo import Analyser

data = [
    Dataset(DatasetType.URINEOUTPUT, pd.DataFrame()),
    Dataset(DatasetType.CREATININE, pd.DataFrame()),
    Dataset(DatasetType.DEMOGRAPHICS, pd.DataFrame()),
    Dataset(DatasetType.RRT, pd.DataFrame()),
]

analyser = Analyser(data)
results: pd.Dataframe =  analyser.process_stays()

Tests

pytest --cov=. test/

Acknowledgement

We encourage all users to use pyAKI in their scientific work. Doing so, please use the following citation:

@misc{porschen2024pyaki,
    title={pyAKI - An Open Source Solution to Automated KDIGO classification},
    author={Christian Porschen and Jan Ernsting and Paul Brauckmann and Raphael Weiss and Till Würdemann and Hendrik Booke and Wida Amini and Ludwig Maidowski and Benjamin Risse and Tim Hahn and Thilo von Groote},
    year={2024},
    eprint={2401.12930},
    archivePrefix={arXiv},
    primaryClass={cs.LG}
}

Our paper can be found on arxiv. [^kdigo]: Improving Global Outcomes (KDIGO) Acute Kidney Injury Work Group. KDIGO Clinical Practice Guideline for Acute Kidney Injury. Kidney inter., Suppl. 2012; 2: 1–138.

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

pyaki-0.0.2.tar.gz (115.0 kB view details)

Uploaded Source

Built Distribution

pyAKI-0.0.2-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file pyaki-0.0.2.tar.gz.

File metadata

  • Download URL: pyaki-0.0.2.tar.gz
  • Upload date:
  • Size: 115.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for pyaki-0.0.2.tar.gz
Algorithm Hash digest
SHA256 cd249f6c4657f8cb1829dcf212e11ee2c1b98286bb3564f35e383746e6896326
MD5 e5bd505b99a53c2f8b69f8a244c3d642
BLAKE2b-256 f185722d0f8a05bc51dd0667e01dc62024e75cde7ac83d0a7bfb02394f2fbe38

See more details on using hashes here.

File details

Details for the file pyAKI-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pyAKI-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for pyAKI-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 74dff1496dd5e84b1630d2959f64688f921b83924e722659cb838fea6dcb5496
MD5 be76bc74b674e9cd148bf0ffab8eb830
BLAKE2b-256 1670af67dabf6efdcedc0b940846569e944d23358635ab305076949ee7e235f2

See more details on using hashes here.

Supported by

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