Skip to content

Commit

Permalink
[feature] default parameters based on hpt
Browse files Browse the repository at this point in the history
  • Loading branch information
VolodyaCO authored and mstechly committed Dec 15, 2022
1 parent 0cc274d commit b18551c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/orquestra/opt/optimizers/pso/continuous_pso_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ def __init__(
self,
swarm_size: int,
bounds: Bounds,
inertia: float,
affinity_towards_best_particle_position: float,
affinity_towards_best_swarm_position: float,
inertia: float = 0.88,
affinity_towards_best_particle_position: float = 0.6,
affinity_towards_best_swarm_position: float = 0.26,
patience: Optional[int] = None,
delta: float = 1e-10,
max_iterations: Optional[int] = None,
Expand Down

0 comments on commit b18551c

Please sign in to comment.