Neural network surrogate hyperparameter optimization via a simple decorator
Project description
mloopforml
Neural network surrogate hyperparameter optimization via a simple decorator.
import mloopforml as mloop
@mloop.optimize(params={"lr": (0.001, 0.1)}, max_iterations=30, direction="maximize")
def train(lr):
# your model training here
return accuracy
result = train()
print(result.best_params, result.best_score)
Install
pip install mloopforml
Requirements
- Python >=3.11
- numpy >=2.0
- scipy >=1.15
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mloopforml-0.1.0.tar.gz.
File metadata
- Download URL: mloopforml-0.1.0.tar.gz
- Upload date:
- Size: 30.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08a04ccd5607674fce841a920b339befe9f7850b7100fe6a2aaa682aa5be0a0a
|
|
| MD5 |
74ec8126b1f7133d39b7c737adb67421
|
|
| BLAKE2b-256 |
3a35f14e1aee705d54a645ec258f21fc1183faba05c860bd837a7a45fd65b2cd
|
Provenance
The following attestation bundles were made for mloopforml-0.1.0.tar.gz:
Publisher:
publish-to-pypi.yml on emv-dev/mloopforml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mloopforml-0.1.0.tar.gz -
Subject digest:
08a04ccd5607674fce841a920b339befe9f7850b7100fe6a2aaa682aa5be0a0a - Sigstore transparency entry: 1056997787
- Sigstore integration time:
-
Permalink:
emv-dev/mloopforml@f04b79b804e4d5346cf43fa4c040db296c5301c6 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/emv-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@f04b79b804e4d5346cf43fa4c040db296c5301c6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mloopforml-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mloopforml-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6831a4f78b6612b068d0bdb7f30352522d002d768e4213c900c65710f0b14295
|
|
| MD5 |
4a69bda54c095195d14009f05c559c4c
|
|
| BLAKE2b-256 |
d2ce716945bea0eb3923c343ad5ebbc41127cd1c89fb5c4f6c94ed8714637c78
|
Provenance
The following attestation bundles were made for mloopforml-0.1.0-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on emv-dev/mloopforml
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mloopforml-0.1.0-py3-none-any.whl -
Subject digest:
6831a4f78b6612b068d0bdb7f30352522d002d768e4213c900c65710f0b14295 - Sigstore transparency entry: 1056997790
- Sigstore integration time:
-
Permalink:
emv-dev/mloopforml@f04b79b804e4d5346cf43fa4c040db296c5301c6 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/emv-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@f04b79b804e4d5346cf43fa4c040db296c5301c6 -
Trigger Event:
push
-
Statement type: