Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

torch_pso-0.0.1.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

torch_pso-0.0.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

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

Hashes for torch_pso-0.0.1.tar.gz
Algorithm Hash digest
SHA256 517779f67c06793951a786473f6e23f4cd944b5e09ab4dae12c8175c49639198
MD5 7e29bbee1e42c63a11d4678add6fb77e
BLAKE2b-256 05724c870a17b59eb7d9d0a6dd9d4be90449bd2bde472ba7ef294eed3b43322f

See more details on using hashes here.

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

Hashes for torch_pso-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d1f74438511d18a2d64c1bef1dc5360ef96642dde2632e0c02e3b045307e5ed3
MD5 1321dacd4367673e60413e402903ea0f
BLAKE2b-256 ec9bc3fa75782f110d48bf4230bfdb6ead546b5f9bc0033c41622a2eb774d958

See more details on using hashes here.

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