Clustering with nature inspired algorithms
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
- Install PyTorch. You can find it here: PyTorch
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
- Implement new algorithms
- Improve code design
- Improve comments and readme
- 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)
| File | Size | Uploaded | |
|---|---|---|---|
| pyriad-0.1.2.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|