From 4143829d6497c4e5fc64888bb235520e9de6f058 Mon Sep 17 00:00:00 2001 From: "Anthony Blaom, PhD" Date: Mon, 3 Jun 2024 10:00:54 +1200 Subject: [PATCH] Update src/constructors.jl Co-authored-by: Okon Samuel <39421418+OkonSamuel@users.noreply.github.com> --- src/constructors.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constructors.jl b/src/constructors.jl index b88085c..f3cbbd0 100644 --- a/src/constructors.jl +++ b/src/constructors.jl @@ -108,7 +108,7 @@ Available controls: $CONTROLS_LIST. as `WithLossDo`. Specify `resampling=nothing` if all data is to be used for controlled iteration, with each out-of-sample loss replaced by the most recent training loss, assuming this is made available by the model - (`supports_training_losses(model) == true`). If the model does not provide report a + (`supports_training_losses(model) == true`). If the model does not report a training loss, you can use `resampling=InSample()` instead, with an additional performance cost. Otherwise, `resampling` must have type `Holdout` or be a vector with one element of the form `(train_indices, test_indices)`.