SBS

class globe.optimizers.particles.SBS.SBS(bounds, n_particles=200, iter=100, dt=0.1, sigma=0.1, batch_size=0, filter_type=None, verbose=False, warmup_type=None, warmup_iter=0)[source]

Bases: Particles_Optimizer

Interface for the SBS optimizer with optional particle filtering.

Parameters:
  • bounds (ndarray) – The bounds of the search space.

  • n_particles (int) – The number of particles.

  • iter (int) – The number of iterations.

  • dt (float) – The time step.

  • sigma (float) – The kernel bandwidth.

  • batch_size (int) – The batch size for the mini-batch optimization. If 0, no mini-batch optimization is used.

  • filter_type (str or None, optional) – The type of filter to apply to particles: - None: No filtering (default) - “quantile”: Filters out particles judged as non-relevant based on quantile

  • warmup_type (str or None, optional) – The type of warmup to apply to particles: - None: No warmup (default) - “CMA-ES”: Uses CMA-ES to warm up the particles

  • warmup_iter (int, optional) – The number of warmup iterations. Default is 0.

  • verbose (bool) – Whether to print information about the optimization process.