Skip to main content

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.

Algorithms

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]

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
  4. Tests

Release files for pyriad 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyriad 0.1.2
File Size Uploaded
pyriad-0.1.2.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyriad 0.1.2
File Interpreter ABI Platform
pyriad-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.2 kB

Release files / pyriad-0.1.2.tar.gz

Download URL pyriad-0.1.2.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ed408289e4ac2e6d04f4b209969bb4efb51781f928f4f1e748733c3fc985ff36
BLAKE2b-256 checksum
How to use checksums
a40cf397d4cd336b75e78fce5f0ef59c53cfa0ae0add99c424359fe3efda6c84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.8

Release files / pyriad-0.1.2-py3-none-any.whl

Download URL pyriad-0.1.2-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0cf5b3000f0625843a32044a90bdea4dc2b417cbdac811650c851101effddf11
BLAKE2b-256 checksum
How to use checksums
dd89cd1114719fd7addad454ee6511ca31d99a37cd4121e60e5aeaf3b2bca90b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.8

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page