From 61d1e0147be8351b67c5d8595c7cde4e14455ee1 Mon Sep 17 00:00:00 2001 From: humammoin09-blip Date: Tue, 7 Jul 2026 12:06:54 +0530 Subject: [PATCH] Document repeats parameter for k-fold validation (fixes #540) --- docs/docs/features/automl.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/docs/features/automl.md b/docs/docs/features/automl.md index b0ae7570..b9151e55 100644 --- a/docs/docs/features/automl.md +++ b/docs/docs/features/automl.md @@ -92,12 +92,15 @@ automl = AutoML( "k_folds": 5, "shuffle": True, "stratify": True, + "repeats": 3, }, ) ``` If validation is explicitly provided, AutoML will use it instead of trying to adjust it automatically. +The `repeats` parameter runs repeated k-fold validation (default: `1`, meaning no repeats). It requires `shuffle=True` — if shuffle is disabled, repeats will automatically be reset to `1` with a warning. + ## `default_algorithms` In this step, the models are trained with default hyperparameters. Regardless of the data, the hyperparameter values used are always the same for each algorithm. In this step, you can compare the results of default models from other datasets and get intuition about your problem complexity.