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:

  • Particle Swarm Optimization (PSO) [1]
  • Cuckoo Search (CS) [2]
  • Grey Wolf Optimization (GWO) [3]
  • 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.

Source Distribution

pyriad-0.1.2.tar.gz (5.8 kB view hashes)

Uploaded source

Built Distribution

pyriad-0.1.2-py3-none-any.whl (9.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page