Socket
Book a DemoInstallSign in
Socket

optuna-integration

Package Overview
Dependencies
Maintainers
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

optuna-integration

Integration libraries of Optuna.

4.5.0
pipPyPI
Maintainers
7

Optuna-Integration

Python pypi conda GitHub license Codecov 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.8 to Python 3.12. Optuna Docker image is also provided at DockerHub.

Integration Modules

Here is the table of optuna-integration modules:

Third Party LibraryExample
BoTorchUnavailable
CatBoostCatBoostPruningCallback
DaskDaskStorage
FastAIFastAIPruningCallback
KerasKerasPruningCallback
LightGBMLightGBMPruningCallback / LightGBMTuner
MLflowMLflowCallback
PyTorch DistributedTorchDistributedTrial
PyTorch IgnitePyTorchIgnitePruningHandler
PyTorch LightningPyTorchLightningPruningCallback
pycmaPyCma Sampler
SHAPSHAP Importance Evaluator
scikit-learnOptunaSearchCV
skorchSkorchPruningCallback
TensorBoardTensorBoardCallback
tf.kerasTFKerasPruningCallback
Weights & BiasesWeightsAndBiasesCallback
XGBoostXGBoostPruningCallback
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}
}

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.