Skip to content

Patient-wise split support (DAT-929) - #68

Merged
luandalmazo merged 2 commits into
mainfrom
feat/DAT-929
Jun 16, 2026
Merged

Patient-wise split support (DAT-929)#68
luandalmazo merged 2 commits into
mainfrom
feat/DAT-929

Conversation

@luandalmazo

Copy link
Copy Markdown
Collaborator

Add patient-wise splitting. Users can now split into train, validation and test sets considering patient IDs, preventing data leakage. Also added group_by_patient() for grouping resources by patient, and a none_patient_id_strategy option to control behavior when a resource has no patient ID.

Closes DAT-929.

Comment thread datamint/dataset/base.py Outdated
Comment thread notebooks/patient_wise_split.ipynb Outdated
Comment thread notebooks/patient_wise_split.ipynb Outdated
Comment thread notebooks/patient_wise_split.ipynb Outdated
@luandalmazo
luandalmazo merged commit ac62aa9 into main Jun 16, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants