OptunaHub
Project description
OptunaHub: Feature-sharing platform for Optuna
:link: OptunaHub | :page_with_curl: Docs | Optuna.org
OptunaHub is a platform for sharing algorithms in Optuna, a powerful and flexible hyperparameter optimization framework. OptunaHub provides implementations of state-of-the-art optimization algorithms and visualization of optimization results for analysis. You can also publish your algorithm implementation on the platform and make it available to Optuna users around the world.
This is the repository of the optunahub Python Library to use packages published in OptunaHub. If you would like to register your package in OptunaHub, please contribute by creating a pull request to the optunahub-registry repository.
:loudspeaker: News
- Jul 16, 2024: We posted an article Announcing OptunaHub 0.1.0-β that describes what is, how to use, and how to contribute to OptunaHub.
Installation
Optuna is available at the Python Package Index.
pip install optunahub
Example
You only need to search for the desired function on the OptunaHub website and call the optunahub.load_module function in your code to incorporate it.
import optuna
import optunahub
def objective(trial: optuna.Trial) -> float:
x = trial.suggest_float("x", 0, 1)
return x
mod = optunahub.load_module("samplers/simulated_annealing")
study = optuna.create_study(sampler=mod.SimulatedAnnealingSampler())
study.optimize(objective, n_trials=20)
print(study.best_trial.value, study.best_trial.params)
Contribution
Any contributions to OptunaHub are more than welcome!
OptunaHub is composed of the following three related repositories. Please contribute to the appropriate repository for your purposes.
- optunahub (this repository)
- The python library to use OptunaHub. If you find issues and/or bugs in the optunahub library, please report it here via Github issues.
- optunahub-registry
- The registry of the OptunaHub packages. If you are interested in registering your package with OptunaHub, please contribute to this repository. For general guidelines on how to contribute to the repository, take a look at CONTRIBUTING.md.
- optunahub-web
- The web frontend for OptunaHub. If you find issues and/or bugs on the website, please report it here via GitHub issues.
License
MIT License (see LICENSE).
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 optunahub-0.1.0.tar.gz
.
File metadata
- Download URL: optunahub-0.1.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79b3981ed814456dd2d3edb36a7f2bdde08f6ae48e9177333119e236aa12b592 |
|
MD5 | 5487df444c302c911753c429a11511a4 |
|
BLAKE2b-256 | 180f69f3fed3a63f24c5c42b4c0e0b5f43eb7d4eaee75ea1e9d6d97022f3aea4 |
File details
Details for the file optunahub-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: optunahub-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edb905f6ea50e8894eee84e117968870ad85994faebe4fe8599537e4678c681b |
|
MD5 | 11b401797abd656da95be0b4eab7f69a |
|
BLAKE2b-256 | 1d56774bef03e255c1548f5eb45d2b62dcfab3e05d270052e106a1d932421177 |