Skip to content

Commit

Permalink
address review comment on docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ablaom committed Jun 2, 2024
1 parent 4143829 commit 8beef5f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/constructors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ Available controls: $CONTROLS_LIST.
controls, refer to the documentation just cited.
- `resampling=Holdout(fraction_train=0.7)`: The default resampling holds back 30% of data
for computing an out-of-sample estimate of performance (the "loss") for loss-based controls such
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 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)`.
for computing an out-of-sample estimate of performance (the "loss") for loss-based
controls such 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 report a training
loss, you can use `resampling=InSample()` instead. Otherwise, `resampling` must have
type `Holdout` or be a vector with one element of the form `(train_indices,
test_indices)`.
- `measure=nothing`: StatisticalMeasures.jl compatible measure for estimating model
performance (the "loss", but the orientation is immaterial - i.e., this could be a
Expand Down

0 comments on commit 8beef5f

Please sign in to comment.