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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

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

Hashes for Pyticle-Swarm-1.0.8.tar.gz
Algorithm Hash digest
SHA256 f98287477ba91db8c44ae5939b849671891e5b32bc670ffb92f0ba14402e32c0
MD5 e337c521bd14f49f118877d448948a71
BLAKE2b-256 2a56823ae0694e7a1bec5dbe7e96e3b041ab9071116091d0f9eb3fcff909477a

See more details on using hashes here.

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

Hashes for Pyticle_Swarm-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 46f52052149d170c635c88da5843993a2a46fa47a561f555ce27f3291271f38c
MD5 15d2563eb4b768c4d53b68d2f04b606f
BLAKE2b-256 79c8e8c5d6aea6a24d7b39e9c3d71f05d5e4e34769b1c42125e149ce180922c3

See more details on using hashes here.

Supported by

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