Tools for Optuna, MLflow and the integration of both
Project description
HPOflow - Sphinx DOC
Tools for Optuna, MLflow and the integration of both.
Detailed documentation with examples can be found here: Sphinx DOC
Table of Contents
- Maintainers
- Installation
- Support and Feedback
- Reporting Security Vulnerabilities
- Contribution
- Code of Conduct
- Licensing
Maintainers
This project is maintained by the One Conversation
team of Deutsche Telekom AG.
The main components are:
hpoflow.OptunaMLflow
:
A wrapper to use Optuna and log to MLflow at the same time.hpoflow.OptunaMLflowCallback
:
Class inheriting fromtransformers.TrainerCallback
that integrates withOptunaMLflow
to send the logs to MLflow and Optuna during model training.hpoflow.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
To install all optional dependencies use:
$ pip install hpoflow[optional]
To install all dependencies use:
$ pip install hpoflow[all]
Release News
Here you can find the latest versions of the software:
Important news and features in the releases:
- add Python 3.10 support and remove Python 3.6 support #95 - version 0.1.4 at 2022-08-14
Support and Feedback
The following channels are available for discussions, feedback, and support requests:
Reporting Security Vulnerabilities
This project is built with security and data privacy in mind to ensure your data is safe. We are grateful for security researchers and users reporting a vulnerability to us, first. To ensure that your request is handled in a timely manner and non-disclosure of vulnerabilities can be assured, please follow the below guideline.
Please do not report security vulnerabilities directly on GitHub. GitHub Issues can be publicly seen and therefore would result in a direct disclosure.
Please address questions about data privacy, security concepts, and other media requests to the opensource@telekom.de mailbox.
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.
Code of Conduct
This project has adopted the Contributor Covenant as our code of conduct. Please see the details in our Contributor Covenant Code of Conduct. All contributors must abide by the code of conduct.
Licensing
Copyright (c) 2021 Philip May, Deutsche Telekom AG
Copyright (c) 2021 Philip May
Copyright (c) 2021 Timothy Wolff-Piggott
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.4.tar.gz
.
File metadata
- Download URL: hpoflow-0.1.4.tar.gz
- Upload date:
- Size: 20.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95c3377ffc43e7aa705753a33d59d46c709c9a936907306a278e2aa446f1b8d3 |
|
MD5 | e7b5a8f0db3061b8dce20355d896d110 |
|
BLAKE2b-256 | ae78af8cd6d981a48bbea1c04557c197510fd7a5f41128356c12d33e447555d1 |
File details
Details for the file hpoflow-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: hpoflow-0.1.4-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dee923fc38e8bd2508d4924627c883e24fac07c278fe6da69cca80ec79f0f04 |
|
MD5 | f46bb0b2d4bbfc19d7d77c0c7099b27c |
|
BLAKE2b-256 | ab081b222f459ade55221c99d61b707aae5e6865520a38eb91b4890270203e89 |