PSO library
Project description
Pyticle Swarm
The Pyticle Swarm is a library created with Python 3.9 capable of running a particle swarm optimization for an array given a fitness function.
To use it simply install anaconda ou any other software that allows the creation of a python environment and you will be able to run it.
The library has dependencies on the following packages:
-
numpy
-
matplotlib
-
matplotlib-inline
To create an anaconda environment run:
$ conda create -n {name_of_environment} python=3.9
To activate the anaconda environment execute:
$ conda activate {name_of_environment}
To install the library simply run:
$ pip install pyticle-swarm
To import the library and the PSO algorithm:
from pyticleswarm import run_pso
To try the example given in github:
$ python example.py
Pyticle Swarm was developed at GECAD - Research Group on Intelligent Engineering and Computing for Advanced Innovation and Development by:
-
Bruno Veiga - btsve@isep.ipp.pt
-
Ricardo Faia - rfmfa@isep.ipp.pt
-
Tiago Pinto - tcp@isep.ipp.pt
-
Zita Vale - zav@isep.ipp.pt
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for Pyticle_Swarm-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b005667cc9a749d2e5b650783f708b805d7fb60684e1ebcc92686685c206ba7 |
|
MD5 | df04c8343302bee4686f3cf705443151 |
|
BLAKE2b-256 | 24a0077ce7e4090646e7fd4bd2df8b2f1aab5ce30eaced6d4a3f6182421d36af |