Tools for Optuna, MLflow and the integration of both
Project description
HPOflow - Sphinx DOC
Tools for Optuna, MLflow and the integration of both.
This project is maintained by the One Conversation
team of Deutsche Telekom AG.
The main components are:
hpoflow.optuna_mlflow.OptunaMLflow
:
A wrapper to use Optuna and log to MLflow at the same time.hpoflow.optuna_transformers.OptunaMLflowCallback
:
Class inheriting fromtransformers.TrainerCallback
that integrates withOptunaMLflow
to send the logs to MLflow and Optuna during model training.hpoflow.optuna.SignificanceRepeatedTrainingPruner
:
An Optuna pruner to use statistical significance (a t-test which serves as a heuristic) to stop unpromising trials early, avoiding unnecessary repeated training during cross validation.
Installation
HPOflow is available at the Python Package Index (PyPI). It can be installed with pip:
$ pip install hpoflow
Some additional dependencies might be necessary.
To use hpoflow.optuna_mlflow.OptunaMLflow
:
$ pip install mlflow GitPython
To use hpoflow.optuna_transformers.OptunaMLflowCallback
:
$ pip install mlflow GitPython transformers
Support and Feedback
The following channels are available for discussions, feedback, and support requests:
Contribution
Our commitment to open source means that we are enabling -in fact encouraging- all interested parties to contribute and become part of our developer community.
Contribution and feedback is encouraged and always welcome. For more information about how to contribute, as well as additional contribution information, see our Contribution Guidelines. By participating in this project, you agree to abide by its Code of Conduct at all times.
Code of Conduct
This project has adopted the Contributor Covenant in version 2.0 as our code of conduct. Please see the details in our CODE_OF_CONDUCT.md. All contributors must abide by the code of conduct.
Working Language
We decided to apply English as the primary project language.
Consequently, all content will be made available primarily in English. We also ask all interested people to use English as language to create issues, in their code (comments, documentation etc.) and when you send requests to us. The application itself and all end-user facing content will be made available in other languages as needed.
Licensing
Copyright (c) 2021 Philip May, Deutsche Telekom AG
Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License by reviewing the file LICENSE in the repository.
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
File details
Details for the file hpoflow-0.1.0rc3.tar.gz
.
File metadata
- Download URL: hpoflow-0.1.0rc3.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7796629bd92f6cee7a7b1151586632a5b97046c1779917200c4328e2ef05440 |
|
MD5 | 2babcb4b8e450cb22e5dfaed79a782de |
|
BLAKE2b-256 | 1aae5c23dbf9b4baa370803ad8a4843bf0f0948d2168dfc8a09e1bced4390be7 |
File details
Details for the file hpoflow-0.1.0rc3-py3-none-any.whl
.
File metadata
- Download URL: hpoflow-0.1.0rc3-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04734c8736db16d0b78b322ac94af02c620de3f6a8e8ff92df2e386cdb9054a4 |
|
MD5 | f2509df74dd76c232a80d505dd388a28 |
|
BLAKE2b-256 | a8aa468ea0ca40c0480084c9f20f7347d25120e091602c43cf3703d8f193422b |