Particle Swarm Optimization using the torch.optim API.
Project description
Torch PSO
Particle Swarm Optimization is an optimization technique that iteratively attempts to improve a list of candidate solutions. Each candidate solution is called a "particle", and collectively they are called a "swarm". In each step of the optimization, each particle moves in a random directly while simultaneously being pulled towards the other particles in the swarm. A simple introduction to the algorithm can be found on its Wikipedia article.
This package implements the Particle Swarm Optimization using the PyTorch Optimizer API, making it compatible with most pre-existing Torch training loops.
Installation
TODO: Write installation instructions for PyPI
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file torch_pso-0.0.1.tar.gz
.
File metadata
- Download URL: torch_pso-0.0.1.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 517779f67c06793951a786473f6e23f4cd944b5e09ab4dae12c8175c49639198 |
|
MD5 | 7e29bbee1e42c63a11d4678add6fb77e |
|
BLAKE2b-256 | 05724c870a17b59eb7d9d0a6dd9d4be90449bd2bde472ba7ef294eed3b43322f |
File details
Details for the file torch_pso-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: torch_pso-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1f74438511d18a2d64c1bef1dc5360ef96642dde2632e0c02e3b045307e5ed3 |
|
MD5 | 1321dacd4367673e60413e402903ea0f |
|
BLAKE2b-256 | ec9bc3fa75782f110d48bf4230bfdb6ead546b5f9bc0033c41622a2eb774d958 |