levmarq-torch
A basic PyTorch implementation of the Levenberg-Marquardt algorithm. This solves minimization problems of the form
$$\mathbf{x}^* = \mathrm{argmin}_{\mathbf{x}} |\mathbf{y} - \mathbf{\hat{y}}(\mathbf{x})|^2 , .$$
The implementation is batched over the parameters $\mathbf{x}$ and datapoints $\mathbf{y}$.
Based on implementation 1 from Gavin 2022 and some help from Connor Stone.
Installation
Running
git clone git@github.com:adam-coogan/levmarq-torch.git
cd levmarq-torch
pip install .
will install the levmarq_torch package.
Metadata
Release files for levmarq-torch 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| levmarq_torch-0.0.1.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| levmarq_torch-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.7 kB
Release files / levmarq_torch-0.0.1.tar.gz
| Download URL | levmarq_torch-0.0.1.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f40c59d1f837ccb2f1587411835f807bf853f6c31c6780a706cfcd46f5c8432a
|
|
BLAKE2b-256 checksum How to use checksums |
05f30c8ce59a7f3221887f1a96cb0a486e0ef361e4ecdb671fdf5e72dffc5a4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|
Release files / levmarq_torch-0.0.1-py3-none-any.whl
| Download URL | levmarq_torch-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ecaf5ce261b7eae50b62fa4cb954fe487964da58658f262520bf9de3ae55d507
|
|
BLAKE2b-256 checksum How to use checksums |
f0da868a90132aac346f5b81b461e73c5fd2efb72759a50729e8c241958c7027
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.3
|