Convenience constructor that wires together an OptimizerAL for uncertainty-based active learning with optional multipoint proposal heuristics.
Arguments
- learner
(mlr3::LearnerRegr)
Base regression learner used as the surrogate.- se_method
(
character(1))
How to obtain standard errors:"auto": use native"se"if supported bylearner, otherwise"bootstrap"."bootstrap": wrap via LearnerRegrBootstrapSE."quantile": wrap via LearnerRegrQuantileSE (requires"quantiles"support).
- n_bootstrap
(
integer(1))
Number of bootstrap replicates for"bootstrap". Ignored otherwise.- batch_size
(
integer(1))
Number of points proposed per active-learning iteration.- multipoint_method
(
character(1))
Batch selection strategy:"greedy": top-k by acquisition score"local_penalization": sequential local-penalization heuristic"diversity": sequential score/diversity trade-off"constant_liar": sequential pseudo-label batching
- candidate_sampler
(
NULL| SpaceSampler)
Sampler that draws the scored candidates from a continuous search space.NULLuses SpaceSamplerUniform.- n_candidates
(
integer(1))
Number of candidate points scored per proposal round.- n_init
(
NULL|integer(1))
Number of initial evaluations.NULLuses OptimizerAL's default initialization policy (4 * dfor fresh runs, none when the archive is already populated).
Value
Configured OptimizerAL.
Details
This helper builds an active-learning optimizer around:
an uncertainty acquisition function (
"sd")a surrogate (registered under id
"model") that can provide standard errors (either native"se", LearnerRegrBootstrapSE, or LearnerRegrQuantileSE)proposer-based batch construction via ALProposerScore, ALProposerSequentialScore, or ALProposerPseudoLabel
n_candidates controls the size of the candidate pool scored in each
proposal round. For continuous search spaces, candidates are drawn from the
search space by candidate_sampler; for finite pools, candidates are
subsampled uniformly from the remaining pool.