Skip to main content

Clustering with nature inspired algorithms

Project description

Clustering with nature inspired algorithms

Codacy Badge Codacy Badge Build Status Version PyPI downloads License

pyriad offers clustering with a variety of nature inspired algorithms built with Python on top of the deep learning library PyTorch.

You can extend pyriad according to your own needs. You can implement custom algorithms by extending simple abstract classes. Pyriad is highly parallelizable and transferable to GPU.


As of today, the following algorithms have been implemented:

  • [x] Particle Swarm Optimization (PSO) [1]
  • [x] Cuckoo Search (CS) [2]
  • [x] Grey Wolf Optimization (GWO) [3]
  • [x] Flower Pollination Algorithm (FP) [4]


  1. Install PyTorch. You can find it here: PyTorch
  2. pip install pyriad


You can find examples in examples/ directory

You can also run examples: python examples/

You might want to export PYTHONPATH=/path/to/this/directory


  1. Implement new algorithms
  2. Improve code design
  3. Improve comments and readme
  4. Tests

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyriad, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size pyriad-0.1.2-py3-none-any.whl (9.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyriad-0.1.2.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page