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
-
joblib
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 upgrade the library run:
$ pip install pyticle-swarm -U
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
Release files for Pyticle-Swarm 1.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Pyticle-Swarm-1.0.8.tar.gz | 9.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Pyticle_Swarm-1.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.6 kB
Release files / Pyticle-Swarm-1.0.8.tar.gz
| Download URL | Pyticle-Swarm-1.0.8.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f98287477ba91db8c44ae5939b849671891e5b32bc670ffb92f0ba14402e32c0
|
|
BLAKE2b-256 checksum How to use checksums |
2a56823ae0694e7a1bec5dbe7e96e3b041ab9071116091d0f9eb3fcff909477a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.12
|
Release files / Pyticle_Swarm-1.0.8-py3-none-any.whl
| Download URL | Pyticle_Swarm-1.0.8-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
46f52052149d170c635c88da5843993a2a46fa47a561f555ce27f3291271f38c
|
|
BLAKE2b-256 checksum How to use checksums |
79c8e8c5d6aea6a24d7b39e9c3d71f05d5e4e34769b1c42125e149ce180922c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.12
|