SBS¶
- class gob.optimizers.particles.SBS.SBS(bounds, n_particles=200, iter=100, dt=10, k=1, sigma=0.1, alpha=0.99, batch_size=0, verbose=False)[source]¶
Bases:
OptimizerInterface for the SBS optimizer.
- 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.
k (float) – The kappa exponent.
sigma (float) – The kernel bandwidth.
alpha (float) – The coefficient to decrease the step size.
batch_size (int) – The batch size for the mini-batch optimization. If 0, no mini-batch optimization is used.
verbose (bool) – Whether to print information about the optimization process.