Skip to main content

Module generator

Module generator 

Source
Expand description

VariationGenerator trait for parameter variation strategies.

Implement this trait to plug a custom search strategy into ExperimentEngine. Three built-in implementations are provided:

  • GridStep โ€” systematic sweep through all discrete grid points.
  • Random โ€” uniform random sampling within parameter bounds.
  • Neighborhood โ€” perturbation around the current best configuration.

Traitsยง

VariationGenerator
A strategy for generating parameter variations one at a time.