Skip to content

Commit

Permalink
Fix description
Browse files Browse the repository at this point in the history
  • Loading branch information
saccuz committed Nov 17, 2023
1 parent df9fdc8 commit 995b630
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion byron/ea/parametric.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,18 @@ def parametric_ea(top_frame: type[FrameABC],
The size of the population
lambda_
The size the offspring
max_generation
Maximum number of generation allowed
max_fitness
Fitness target
top_n
The size of champions population
lifespan
The number of generation an individual survive
operators
Which operators you want to use
end_conditions
List of possible conditions needed to end the evolution
alpha
Parameter to reduce early failure penalty for operators
rewards
Expand Down Expand Up @@ -114,7 +120,7 @@ def extimate_operator_probability(operators_list: list[Callable], iterations: in
ucb = mu + radius
p_temp.append(ucb)
base = sum(p_temp)
return [ p / base for p in p_temp]
return [ p / base for p in p_temp ]


if end_conditions:
Expand Down

0 comments on commit 995b630

Please sign in to comment.