From 3812249513541fba1f5ec50a3d46a1f8831ad1cf Mon Sep 17 00:00:00 2001 From: Linardos Date: Mon, 9 Sep 2024 16:08:28 -0400 Subject: [PATCH] changed CV warning --- GANDLF/utils/data_splitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GANDLF/utils/data_splitter.py b/GANDLF/utils/data_splitter.py index f289f9534..939c8cfca 100644 --- a/GANDLF/utils/data_splitter.py +++ b/GANDLF/utils/data_splitter.py @@ -58,7 +58,7 @@ def split_data( # put 2 just so that the first for-loop does not fail testing_folds = 2 print( - "WARNING: Testing data is empty, which will result in scientifically incorrect results; use at your own risk." + "WARNING: Cross-validation is set to run on a train/validation scheme without testing data. For a more rigorous evaluation and if you wish to tune hyperparameters, make sure to use nested cross-validation." ) # get unique subject IDs