Configure Training-Validation Splits
mainSurvPath uses 5-fold cross-validation stratified by the site of histology slide collection.
Using provided splits:
Splits are located in the splits/5foldcv folder. Each folder contains splits_{k}.csv (where k = 1 to 5). In these files:
- The first column contains TCGA Case IDs for training.
- The second column contains TCGA Case IDs for validation.
- Note: Slides from a single case are never split between training and validation sets.
Using custom splits:
If you define your own splits, they must follow the same two-column CSV format. To load these splits, use the return_splits function within the SurvivalDatasetFactory class.