From 53cb505cf3d30974bf7a121c898e3dd275e0e897 Mon Sep 17 00:00:00 2001 From: Castorp <50649074+ShinDongWoon@users.noreply.github.com> Date: Mon, 18 Aug 2025 10:53:21 +0900 Subject: [PATCH] Add comment for ROCV fold usage --- LGHackerton/models/patchtst_trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LGHackerton/models/patchtst_trainer.py b/LGHackerton/models/patchtst_trainer.py index f0665a5..b44a5d3 100644 --- a/LGHackerton/models/patchtst_trainer.py +++ b/LGHackerton/models/patchtst_trainer.py @@ -156,7 +156,7 @@ def _make_rocv_slices( n = len(label_dates) slices: List[Tuple[np.ndarray, np.ndarray]] = [] - used = np.zeros(n, dtype=bool) + used = np.zeros(n, dtype=bool) # prevents overlap among folds dates = np.sort(np.unique(label_dates)) for i in range(n_folds):