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
pip install hpt
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4438318d12dd54b22c8b1510888b16e70ba520d84773683dd58690a49354f66 |
|
MD5 | 59d4a04575c1817b7ff8c79643990a82 |
|
BLAKE2b-256 | 6abba9a43e40eac0351601e1d27273b47ae8b5cf600304a59f420b2f6023a50b |
Close
Hashes for hyperparameter_tuning-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 809ec117bf861b45e78d0cf057b779a50b89a89f00e1cfc1394b893a61d76f72 |
|
MD5 | 3154112c73cd96a5e964e5ae33fb6cf4 |
|
BLAKE2b-256 | e1040c91d41397964a731207b20c195b614e96302a61a6762cd89514c708c901 |