Contents

optuna 3.6.1

0

A hyperparameter optimization framework

A hyperparameter optimization framework

Stars: 9573, Watchers: 9573, Forks: 952, Open Issues: 95

The optuna/optuna repo was created 6 years ago and the last code push was an hour ago.
The project is extremely popular with a mindblowing 9573 github stars!

How to Install optuna

You can install optuna using pip

pip install optuna

or add it to a project with poetry

poetry add optuna

Package Details

Author
Takuya Akiba
License
MIT License Copyright (c) 2018 Preferred Networks, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. == Optuna contains code that is licensed by third-party developers. == SciPy The Optuna contains the codes from SciPy project. Copyright (c) 2001-2002 Enthought, Inc. 2003-2022, SciPy Developers. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. == fdlibm Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. Developed at SunPro, a Sun Microsystems, Inc. business. Permission to use, copy, modify, and distribute this software is freely granted, provided that this notice is preserved.
Homepage
None
PyPi:
https://pypi.org/project/optuna/
GitHub Repo:
https://github.com/optuna/optuna

Classifiers

  • Scientific/Engineering
  • Scientific/Engineering/Artificial Intelligence
  • Scientific/Engineering/Mathematics
  • Software Development
  • Software Development/Libraries
  • Software Development/Libraries/Python Modules
No  optuna  pypi packages just yet.

Errors

A list of common optuna errors.

Code Examples

Here are some optuna code examples and snippets.

GitHub Issues

The optuna package has 95 open issues on GitHub

  • Make show_progress_bar tests simpler
  • More control over how GridSampler prioritizes configurations after search space is exhausted
  • Resuming Study
  • integrate with Lightning ecosystem CI
  • Update explanation for metrics of AllenNLPExecutor
  • [RFC] Make trials editable after they are finished
  • Investigate the necessary to use python 3.8 for documentation build
  • Fix axis range issue in matplotlib contour plot
  • When I retrain the model using the parameters of best_trial, I cannot achieve the F1 of optuna turning result
  • Enable FloatDistribution and IntDistribution
  • Introduce a rich benchmark environment in CI
  • Fix type hints for Python 3.8.
  • Handle -inf and inf values in RDBStorage
  • Make tests of plot_optimization_history methods consistent
  • [RFC] Extend the type annotation of catch argument of study.optimize

See more issues on GitHub

Related Packages & Articles

h2o 3.46.0.1

H2O, Fast Scalable Machine Learning, for python

tensorflow 2.16.1

TensorFlow is an open source machine learning framework for everyone.

optax 0.2.2

A gradient processing and optimisation library in JAX.