Example:
Template university EEG tasks: https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/tasks/temple_university_EEG_tasks.py
Splits in splitter.py: https://github.com/sunlabuiuc/PyHealth/blob/master/pyhealth/datasets/splitter.py
Problem:
Many datasets have pre-defined splits. Putting them all in splitter.py can get really ugly fast. It may be worth doing:
- splitter functions in their dataset.py like tuev.py
- splitter functions in their task.py like temple_universty_eeg_tasks.py