Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
firefly-cpp authored Mar 11, 2022
1 parent 3e20c74 commit dbf2e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Let’s say, we want to try out PSO against the Pintér problem function. Firstl
from niapy.algorithms.basic import ParticleSwarmAlgorithm
from niapy.task import Task

# we will run 10 repetitions of Weighed, velocity clamped PSO on the Pinter problem
# we will run 10 repetitions of Weighted, velocity clamped PSO on the Pinter problem
for i in range(10):
task = Task(problem='pinter', dimension=10, max_evals=10000)
algorithm = ParticleSwarmAlgorithm(population_size=100, w=0.9, c1=0.5, c2=0.3, min_velocity=-1, max_velocity=1)
Expand Down

0 comments on commit dbf2e3f

Please sign in to comment.