Skip to main content

care-dataset

care-dataset is the official Python package for accessing and managing the CARE multimodal clinical dataset.

The package provides a high-level interface for loading CARE from Hugging Face, filtering participants using metadata, selecting modalities, creating profile-level train/test and cross-validation splits, and preventing profile leakage in machine learning experiments.

Installation

The package requires Python 3.11 or newer.

Install the package either directly from PyPI:

pip install care-dataset

or by cloning the source repository:

git clone https://gitlab.inesc-id.pt/hlt/public/datasets/multimodal_care.git
cd multimodal_care
pip install .

Quick start

from care_dataset import CAREDataset

care = CAREDataset()

care.info()

Filter the dataset

dataset = care.filter(
    label_id__in=["CONTROL", "PARKINSON"],
)

Select one or more modalities

dataset = dataset.select_modalities(
    "egemaps_func",
)

Create a profile-level cross-validation split

cv_iters, report = dataset.cross_validation(
    k=5,
    keep_duplicate_profiles=False,
    report=True,
)

report.info()

CARE dataset

The CARE dataset, documentation, feature archives, and usage examples are available from the official Hugging Face Dataset repository:

https://huggingface.co/datasets/inesc-id/multimodal_care

License

This package is distributed under the MIT License.

The CARE dataset itself is distributed separately under the CARE Data Use Agreement (DUA).

Metadata

Release files for care-dataset 0.1.0

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

Source distribution (sdist)

Source distribution for care-dataset 0.1.0
File Size Uploaded
care_dataset-0.1.0.tar.gz 73.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for care-dataset 0.1.0
File Interpreter ABI Platform
care_dataset-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 147.7 kB

Release files / care_dataset-0.1.0.tar.gz

Download URL care_dataset-0.1.0.tar.gz
Size 73.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ff90bfe90f189786bd6f4e6f8cd90ffcf7c00c275f9553f5905bfd979fe57f3b
BLAKE2b-256 checksum
How to use checksums
3e277e97fe2277fb64adb4d749a3583b6b68c8b201157801546e2743ec822ae7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / care_dataset-0.1.0-py3-none-any.whl

Download URL care_dataset-0.1.0-py3-none-any.whl
Size 74.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6085533b8bcd54bbe83fe2e166b916fb3e1d00c05570d0e1a5029b38cf4a029
BLAKE2b-256 checksum
How to use checksums
7a958dc44f9013cc92a348aa02af165053b927e3e1beadff57b6451bf4459d9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

0.1.0 This release

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