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
-
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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Pyticle-Swarm-1.0.8.tar.gz.
File metadata
- Download URL: Pyticle-Swarm-1.0.8.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f98287477ba91db8c44ae5939b849671891e5b32bc670ffb92f0ba14402e32c0
|
|
| MD5 |
e337c521bd14f49f118877d448948a71
|
|
| BLAKE2b-256 |
2a56823ae0694e7a1bec5dbe7e96e3b041ab9071116091d0f9eb3fcff909477a
|
File details
Details for the file Pyticle_Swarm-1.0.8-py3-none-any.whl.
File metadata
- Download URL: Pyticle_Swarm-1.0.8-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46f52052149d170c635c88da5843993a2a46fa47a561f555ce27f3291271f38c
|
|
| MD5 |
15d2563eb4b768c4d53b68d2f04b606f
|
|
| BLAKE2b-256 |
79c8e8c5d6aea6a24d7b39e9c3d71f05d5e4e34769b1c42125e149ce180922c3
|