Skip to main content

Integration libraries of Optuna.

Project description

Optuna-Integration

Python pypi conda GitHub license Read the Docs

This package is an integration module of Optuna, an automatic Hyperparameter optimization software framework. The modules in this package provide users with extended functionalities for Optuna in combination with third-party libraries such as PyTorch, sklearn, and TensorFlow.

[!NOTE] You can find more information in our official documentations and API reference.

Installation

Optuna-Integration is available via pip and on conda.

# PyPI
$ pip install optuna-integration

# Anaconda Cloud
$ conda install -c conda-forge optuna-integration

[!IMPORTANT] As dependencies of all the modules are large and complicated, the commands above install only the common dependencies. Dependencies for each module can be installed via pip. For example, if you would like to install the dependencies of optuna_integration.botorch and optuna_integration.lightgbm, you can install them via:

$ pip install optuna-integration[botorch,lightgbm]

[!NOTE] Optuna-Integration supports from Python 3.9 to Python 3.13. Optuna Docker image is also provided at DockerHub.

Integration Modules

Here is the table of optuna-integration modules:

Third Party Library Example
BoTorch Unavailable
CatBoost CatBoostPruningCallback
Dask DaskStorage
FastAI FastAIPruningCallback
Keras KerasPruningCallback
LightGBM LightGBMPruningCallback / LightGBMTuner
MLflow* MLflowCallback
PyTorch Distributed TorchDistributedTrial
PyTorch Ignite PyTorchIgnitePruningHandler
PyTorch Lightning PyTorchLightningPruningCallback
pycma* PyCma Sampler
SHAP SHAP Importance Evaluator
scikit-learn OptunaSearchCV
skorch SkorchPruningCallback
TensorBoard* TensorBoardCallback
tf.keras TFKerasPruningCallback
Weights & Biases* WeightsAndBiasesCallback
XGBoost XGBoostPruningCallback
Trackio* TrackioCallback
AllenNLP* AllenNLPPruningCallback
Chainer* ChainerPruningExtension
ChainerMN* ChainerMNStudy
MXNet* Unavailable

[!WARNING] * shows deprecated modules and they might be removed in the future.

Communication

Contribution

Any contributions to Optuna-Integration are more than welcome!

For general guidelines how to contribute to the project, take a look at CONTRIBUTING.md.

Reference

If you use Optuna in one of your research projects, please cite our KDD paper "Optuna: A Next-generation Hyperparameter Optimization Framework":

BibTeX
@inproceedings{akiba2019optuna,
  title={{O}ptuna: A Next-Generation Hyperparameter Optimization Framework},
  author={Akiba, Takuya and Sano, Shotaro and Yanase, Toshihiko and Ohta, Takeru and Koyama, Masanori},
  booktitle={The 25th ACM SIGKDD International Conference on Knowledge Discovery \& Data Mining},
  pages={2623--2631},
  year={2019}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

optuna_integration-4.9.0.dev20260515.tar.gz (90.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

optuna_integration-4.9.0.dev20260515-py3-none-any.whl (103.6 kB view details)

Uploaded Python 3

File details

Details for the file optuna_integration-4.9.0.dev20260515.tar.gz.

File metadata

File hashes

Hashes for optuna_integration-4.9.0.dev20260515.tar.gz
Algorithm Hash digest
SHA256 10fe7a7e96f001ca1114c9f9510f0f353c3cbe017a95ed284cd784fd9d4fcfe1
MD5 7e2240db3e6a32f871ecb4580bbf3d28
BLAKE2b-256 55a977196a65277735eb308bc28944236a30c30c8f3d8869ed599002b49fa060

See more details on using hashes here.

Provenance

The following attestation bundles were made for optuna_integration-4.9.0.dev20260515.tar.gz:

Publisher: pypi-publish.yml on optuna/optuna-integration

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file optuna_integration-4.9.0.dev20260515-py3-none-any.whl.

File metadata

File hashes

Hashes for optuna_integration-4.9.0.dev20260515-py3-none-any.whl
Algorithm Hash digest
SHA256 e570485e5fecbb747653f891f41c6632387108b08381dff44a818e9e4206857f
MD5 314381dc0cb5a22b048b88552b9884b4
BLAKE2b-256 0fe997e6bc780545507fac4be239489d033c06245c2abb8b3455c6e1b38fb373

See more details on using hashes here.

Provenance

The following attestation bundles were made for optuna_integration-4.9.0.dev20260515-py3-none-any.whl:

Publisher: pypi-publish.yml on optuna/optuna-integration

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page