SurvPath icon indicating copy to clipboard operation
SurvPath copied to clipboard

5-Fold CV split Implementation

Open adiv5 opened this issue 1 year ago • 1 comments

Hi, As mentioned in the paper

Each split was stratified according to the sample site to mitigate potential batch artifacts

In the code provided, I'm unable to understand how was the split done. How were the site information sourced for each sample?

It would be really great if you could point to a snippet that you used for making the splits

Note: I was going through this and here the tissue source site is supposed to be the component in the barcode just after "TCGA". Please confirm if this is so?

Thanks in Advance

adiv5 avatar Jul 18 '24 10:07 adiv5

Yes, you are correct that the name of the case has the tissue source site in it. However, there can be 70+ sites in some cohorts. So, we used Howard et al, Nat. Comms, 2021 to make the site-stratified splits.

As a note to the community, it is imperative for us as a field to move away from using simple cross validation folds for TCGA-related tasks. Such a strategy leads to train-test leakage due to cases from same site being present in train and test sets, which can cause artificial inflation of performance. We highly advise the community to use site stratified splits combined with external testing (for example by using CPTAC cohorts).

ajv012 avatar Dec 16 '24 22:12 ajv012