Skip to main content

Clustering with nature inspired algorithms

Project description

Clustering with nature inspired algorithms

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.

Algorithms

As of today, the following algorithms have been implemented:

  • Particle Swarm Optimization (PSO)
  • Cuckoo Search (CS)
  • Grey Wolf Optimization (GWO)
  • Flower Pollination Algorithm (FP)

Installation

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

Examples

You can find examples in examples/ directory

You can also run examples: python examples/pso_iris.py

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

Contribute

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

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.0.9.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

pyriad-0.0.9-py3-none-any.whl (5.7 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