Torchswarm
A fast implementation of Particle Swarm Optimization using PyTorch
We support
Variants of Particle Swarm Optimization
We support for all kinds of PSO
Bring your own particle
We allow for getting a custom particle with a different velocity update rule, The Class must have the following methods:
__init__moveupdate_velocity
How to define your problem.
Create a class by inheriting torchswarm.functions.Function and an evaluate method.
class XSquare(Function):
def evaluate(self, x):
return x**2
Contributors:
Metadata
Release files for torchswarm 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| torchswarm-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / torchswarm-0.0.1-py3-none-any.whl
| Download URL | torchswarm-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
006adb65d21cc3173123298e142fbccf613ae616200787b11ecda21cb63ce0a5
|
|
BLAKE2b-256 checksum How to use checksums |
0be0f9eeeb3c5806ed3c43a3a4f1cb5d8aa894cd50fed832ddecefca9915aefd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
|
Security for torchswarm 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.