Skip to content

Fold "all" vs 5-folds in nnUnet #599

Answered by FabianIsensee
ironb25 asked this question in Q&A
Discussion options

You must be logged in to vote

when running the 5 fold CV you get scores for the respective validation sets.
If you set fold='all' then you train and validate on all training cases, so there are no scores you can report. In that case you need a holdout test or holdout validation set to report scores.

My recommendation is to always use the 5 fold cross-validation + have a heldout test set. Use the 5 models from the cross-validation as an ensemble to predict the test set

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ironb25
Comment options

@FabianIsensee
Comment options

Answer selected by FabianIsensee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants