:orphan:

.. _general_examples:

Examples
========

Miscellaneous examples
----------------------

Miscellaneous and introductory examples for scikit-optimize.

.. raw:: html

.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Tim Head, February 2017. Reformatted by Holger Nahrstaedt 2020">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_ask-and-tell_thumb.png
    :alt:

  :doc:`/auto_examples/ask-and-tell`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Async optimization Loop</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Gilles Louppe, Manoj Kumar July 2016. Reformatted by Holger Nahrstaedt 2020">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_bayesian-optimization_thumb.png
    :alt:

  :doc:`/auto_examples/bayesian-optimization`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Bayesian optimization with skopt</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Tim Head, July 2016. Reformatted by Holger Nahrstaedt 2020">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_strategy-comparison_thumb.png
    :alt:

  :doc:`/auto_examples/strategy-comparison`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Comparing surrogate models</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Sigurd Carlen, September 2019. Reformatted by Holger Nahrstaedt 2020">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_exploration-vs-exploitation_thumb.png
    :alt:

  :doc:`/auto_examples/exploration-vs-exploitation`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Exploration vs exploitation</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Christian Schell, Mai 2018 Reformatted by Holger Nahrstaedt 2020">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_interruptible-optimization_thumb.png
    :alt:

  :doc:`/auto_examples/interruptible-optimization`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Interruptible optimization runs with checkpoints</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Iaroslav Shcherbatyi, May 2017. Reviewed by Manoj Kumar and Tim Head. Reformatted by Holger Nahrstaedt 2020">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_parallel-optimization_thumb.png
    :alt:

  :doc:`/auto_examples/parallel-optimization`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Parallel optimization</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Iaroslav Shcherbatyi, Tim Head and Gilles Louppe. June 2017. Reformatted by Holger Nahrstaedt 2020">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_sklearn-gridsearchcv-replacement_thumb.png
    :alt:

  :doc:`/auto_examples/sklearn-gridsearchcv-replacement`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Scikit-learn hyperparameter search wrapper</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Mikhail Pak, October 2016. Reformatted by Holger Nahrstaedt 2020">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_store-and-load-results_thumb.png
    :alt:

  :doc:`/auto_examples/store-and-load-results`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Store and load skopt optimization results</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Gilles Louppe, July 2016 Katie Malone, August 2016 Reformatted by Holger Nahrstaedt 2020">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_hyperparameter-optimization_thumb.png
    :alt:

  :doc:`/auto_examples/hyperparameter-optimization`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Tuning a scikit-learn estimator with skopt</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Sigurd Carlen, September 2019. Reformatted by Holger Nahrstaedt 2020">

.. only:: html

  .. image:: /auto_examples/images/thumb/sphx_glr_optimizer-with-different-base-estimator_thumb.png
    :alt:

  :doc:`/auto_examples/optimizer-with-different-base-estimator`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Use different base estimators for optimization</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>


.. toctree::
   :hidden:

   /auto_examples/ask-and-tell
   /auto_examples/bayesian-optimization
   /auto_examples/strategy-comparison
   /auto_examples/exploration-vs-exploitation
   /auto_examples/interruptible-optimization
   /auto_examples/parallel-optimization
   /auto_examples/sklearn-gridsearchcv-replacement
   /auto_examples/store-and-load-results
   /auto_examples/hyperparameter-optimization
   /auto_examples/optimizer-with-different-base-estimator


Plotting functions
------------------

Examples concerning the :mod:`skopt.plots` module.

.. raw:: html

.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Sigurd Carlsen Feb 2019 Holger Nahrstaedt 2020">

.. only:: html

  .. image:: /auto_examples/plots/images/thumb/sphx_glr_partial-dependence-plot_thumb.png
    :alt:

  :doc:`/auto_examples/plots/partial-dependence-plot`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Partial Dependence Plots</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Sigurd Carlsen Feb 2019 Holger Nahrstaedt 2020">

.. only:: html

  .. image:: /auto_examples/plots/images/thumb/sphx_glr_partial-dependence-plot-with-categorical_thumb.png
    :alt:

  :doc:`/auto_examples/plots/partial-dependence-plot-with-categorical`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Partial Dependence Plots  with categorical values</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Hvass-Labs Dec 2017 Holger Nahrstaedt 2020">

.. only:: html

  .. image:: /auto_examples/plots/images/thumb/sphx_glr_partial-dependence-plot-2D_thumb.png
    :alt:

  :doc:`/auto_examples/plots/partial-dependence-plot-2D`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Partial Dependence Plots 2D</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Tim Head, August 2016. Reformatted by Holger Nahrstaedt 2020">

.. only:: html

  .. image:: /auto_examples/plots/images/thumb/sphx_glr_visualizing-results_thumb.png
    :alt:

  :doc:`/auto_examples/plots/visualizing-results`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Visualizing optimization results</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>


Initial sampling functions
--------------------------

Examples concerning the :mod:`skopt.sampler` module.

.. raw:: html

.. raw:: html

    <div class="sphx-glr-thumbnails">

.. thumbnail-parent-div-open

.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Holger Nahrstaedt 2020">

.. only:: html

  .. image:: /auto_examples/sampler/images/thumb/sphx_glr_sampling_comparison_thumb.png
    :alt:

  :doc:`/auto_examples/sampler/sampling_comparison`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Comparing initial point generation methods</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Holger Nahrstaedt 2020 Sigurd Carlsen October 2019">

.. only:: html

  .. image:: /auto_examples/sampler/images/thumb/sphx_glr_initial-sampling-method_thumb.png
    :alt:

  :doc:`/auto_examples/sampler/initial-sampling-method`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Comparing initial sampling methods</div>
    </div>


.. raw:: html

    <div class="sphx-glr-thumbcontainer" tooltip="Holger Nahrstaedt 2020 Sigurd Carlsen October 2019">

.. only:: html

  .. image:: /auto_examples/sampler/images/thumb/sphx_glr_initial-sampling-method-integer_thumb.png
    :alt:

  :doc:`/auto_examples/sampler/initial-sampling-method-integer`

.. raw:: html

      <div class="sphx-glr-thumbnail-title">Comparing initial sampling methods on integer space</div>
    </div>


.. thumbnail-parent-div-close

.. raw:: html

    </div>


.. toctree::
   :hidden:
   :includehidden:


   /auto_examples/plots/index.rst
   /auto_examples/sampler/index.rst


.. only:: html

  .. container:: sphx-glr-footer sphx-glr-footer-gallery

    .. container:: sphx-glr-download sphx-glr-download-python

      :download:`Download all examples in Python source code: auto_examples_python.zip </auto_examples/auto_examples_python.zip>`

    .. container:: sphx-glr-download sphx-glr-download-jupyter

      :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip </auto_examples/auto_examples_jupyter.zip>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_
