Skip to content

Commit

Permalink
Merge pull request #656 from VijayKalmath/patch-1
Browse files Browse the repository at this point in the history
Update Max Iterations for FasterGA  to 40
  • Loading branch information
jxmorris12 committed Jun 8, 2022
2 parents d09ef9d + 5bb1355 commit efa21e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def build(model_wrapper):
# Perform word substitution with a genetic algorithm.
#
search_method = AlzantotGeneticAlgorithm(
pop_size=60, max_iters=20, post_crossover_check=False
pop_size=60, max_iters=40, post_crossover_check=False
)

return Attack(goal_function, constraints, transformation, search_method)

0 comments on commit efa21e6

Please sign in to comment.