nifreeze.data.splitting module¶
Data splitting helpers.
- nifreeze.data.splitting.lovo_split(dataset, index, with_b0=False)[source]¶
Produce one fold of LOVO (leave-one-volume-out).
- Parameters:
dataset (
nifreeze.data.dmri.DWI
) – DWI objectindex (
int
) – Index of the DWI orientation to be left out in this fold.
- Returns: