Skip to main content

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

CHANGELOG

Pyticle Swarm was developed at GECAD - Research Group on Intelligent Engineering and Computing for Advanced Innovation and Development by:

gecad.png

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

Pyticle-Swarm-1.0.8.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

Pyticle_Swarm-1.0.8-py3-none-any.whl (10.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page