Skip to content

Particle Swarm Optimization (PSO) algorithm for hyperplane optimization.

License

Notifications You must be signed in to change notification settings

Bennri/pso_linear_combinations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Particle Swarm Optimization: Linear Combination

Particle Swarm Optimization (PSO) algorithm for hyperplane optimization. A project to get more familiar with the Scala language.

The dataset, which was used to test the PSO algorithm was generated with the script create_tmp_dataset.py. A result of the algorithm is provided and can be found in the file result.json. Additional plots can be found in pso_result.ipynb.

One possible result of the algorithm:

The dataset is obtained from: https://scikit-learn.org/stable/modules/generated/sklearn.datasets.load_iris.html

References

Kennedy, J., & Eberhart, R. (1995, November). Particle swarm optimization. In Proceedings of ICNN'95-International Conference on Neural Networks (Vol. 4, pp. 1942-1948). IEEE.

Eberhart, R. C., & Shi, Y. (2000, July). Comparing inertia weights and constriction factors in particle swarm optimization. In Proceedings of the 2000 congress on evolutionary computation. CEC00 (Cat. No. 00TH8512) (Vol. 1, pp. 84-88). IEEE.