A minimal framework for running hyperparameter tuning
Project description
hpt
This repository is under construction :construction:
A minimal hyperparameter tuning framework to help you train hundreds of models.
It's essentially a set of helpful wrappers over optuna.
Install
Install package from PyPI:
pip install hyperparameter-tuning
Getting started
from hpt.tuner import ObjectiveFunction, OptunaTuner
obj_func = ObjectiveFunction(
X_train, y_train, X_test, y_test,
hyperparameter_space=HYPERPARAM_SPACE_PATH,
eval_metric='accuracy',
s_train=s_train,
s_val=s_test,
threshold=0.50,
)
tuner = OptunaTuner(obj_func) # NOTE: can pass other useful study kwargs here (e.g. storage)
TODO: finish readme.
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
Close
Hashes for hyperparameter-tuning-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4431804558ce23a183220505b51b088cd2a1cb845f384e5b6d47e8afda99f8cc |
|
MD5 | 5b5e6d3af1357be4e10a0512de5ee2a0 |
|
BLAKE2b-256 | a8a596c6cd979fb4e8e9f8e1ebfe269a501813602a2856fec1d0d20d5dbb9b9c |
Close
Hashes for hyperparameter_tuning-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 637822a67da621abb5e46cc9370f0ac6762caf0ff318f9960e2bf8f3cac01b6c |
|
MD5 | e78b10d8bc86a3ce7b2a186d23885ec2 |
|
BLAKE2b-256 | cc04b4fd8ecb03e65c60fe2f3740d56c1089208c11eed36aff3c0741e20107d2 |