EqxLearnUncertainty
- class EqxLearnUncertainty(initial_models=10, batch_size=1, num_grid_per_dim=1024, grid_sampler=LatinHypercube(), surrogate=None, fit_kwargs=<factory>)[source]
Bases:
FieldSamplerAdaptive sampler targeting regions of high surrogate uncertainty.
- Parameters:
- train_field(params, features, key)[source]
- Parameters:
params (Array)
features (Array)
key (Array)
- Return type:
- grid_sampler: AbstractOneShotSampler = LatinHypercube()
- init(eval_fn, d, key, options)
Initialize the sampler state and perform the first evaluations.
- Return type:
SamplerState
- step(eval_fn, d, state, key, options)
Perform one iteration of the sampling algorithm.
- Return type:
SamplerState