Skip to content

Releases: shimst3r/sofascore

Extend MIMICExtract Adapter

Choose a tag to compare

@shimst3r shimst3r released this 09 Nov 11:29
67265a1

With this release, the sofascore.adapters.MIMICExtract gets a new function: compute_sofa_score_all_times. Using the function you can compute a time series of SOFA scores per patient using the subject_id! 馃

Add Dataset Adapters

Choose a tag to compare

@shimst3r shimst3r released this 07 Jul 15:57
5a7d853

This release introduces dataset adapters via protocols. The initial adapter is for the MIMIC-Extract dataset and can be used like so:

>>> from sofascore.adapters import MimicExtract
>>> HDF_PATH = "path/to/mimic-extract.hdf5"
>>> data = MimicExtract(HDF_PATH)
>>> data.compute_sofa_score(patient_id=3, time=0)
4

Initial Release

Choose a tag to compare

@shimst3r shimst3r released this 25 Jun 09:39

This is the initial release, which should be considered a MVP. Installation via PyPI using

pip install sofascore