:orphan:
.. _examples:
========
Examples
========
Practical examples for using *auto-sklearn*.
.. raw:: html
.. raw:: html
==============
Basic Examples
==============
Examples for basic classification, regression, multi-output regression, and multi-label classification datasets.
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /examples/20_basic/images/thumb/sphx_glr_example_classification_thumb.png
:alt: Classification
:ref:`sphx_glr_examples_20_basic_example_classification.py`
.. raw:: html
Classification
.. raw:: html
.. only:: html
.. image:: /examples/20_basic/images/thumb/sphx_glr_example_multioutput_regression_thumb.png
:alt: Multi-output Regression
:ref:`sphx_glr_examples_20_basic_example_multioutput_regression.py`
.. raw:: html
Multi-output Regression
.. raw:: html
.. only:: html
.. image:: /examples/20_basic/images/thumb/sphx_glr_example_regression_thumb.png
:alt: Regression
:ref:`sphx_glr_examples_20_basic_example_regression.py`
.. raw:: html
Regression
.. raw:: html
.. only:: html
.. image:: /examples/20_basic/images/thumb/sphx_glr_example_multilabel_classification_thumb.png
:alt: Multi-label Classification
:ref:`sphx_glr_examples_20_basic_example_multilabel_classification.py`
.. raw:: html
Multi-label Classification
.. raw:: html
=================
Advanced Examples
=================
Examples on customizing Auto-sklearn to ones use case by changing the
metric to optimize, the train-validation split, giving feature types,
using pandas dataframes as input and inspecting the results of the search
procedure.
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /examples/40_advanced/images/thumb/sphx_glr_example_interpretable_models_thumb.png
:alt: Interpretable models
:ref:`sphx_glr_examples_40_advanced_example_interpretable_models.py`
.. raw:: html
Interpretable models
.. raw:: html
.. only:: html
.. image:: /examples/40_advanced/images/thumb/sphx_glr_example_feature_types_thumb.png
:alt: Feature Types
:ref:`sphx_glr_examples_40_advanced_example_feature_types.py`
.. raw:: html
Feature Types
.. raw:: html
.. only:: html
.. image:: /examples/40_advanced/images/thumb/sphx_glr_example_early_stopping_and_callbacks_thumb.png
:alt: Early stopping and Callbacks
:ref:`sphx_glr_examples_40_advanced_example_early_stopping_and_callbacks.py`
.. raw:: html
Early stopping and Callbacks
.. raw:: html
.. only:: html
.. image:: /examples/40_advanced/images/thumb/sphx_glr_example_calc_multiple_metrics_thumb.png
:alt: Metrics
:ref:`sphx_glr_examples_40_advanced_example_calc_multiple_metrics.py`
.. raw:: html
Metrics
.. raw:: html
.. only:: html
.. image:: /examples/40_advanced/images/thumb/sphx_glr_example_multi_objective_thumb.png
:alt: Classification
:ref:`sphx_glr_examples_40_advanced_example_multi_objective.py`
.. raw:: html
Classification
.. raw:: html
.. only:: html
.. image:: /examples/40_advanced/images/thumb/sphx_glr_example_text_preprocessing_thumb.png
:alt: Text preprocessing
:ref:`sphx_glr_examples_40_advanced_example_text_preprocessing.py`
.. raw:: html
Text preprocessing
.. raw:: html
.. only:: html
.. image:: /examples/40_advanced/images/thumb/sphx_glr_example_inspect_predictions_thumb.png
:alt: Model Explanation
:ref:`sphx_glr_examples_40_advanced_example_inspect_predictions.py`
.. raw:: html
Model Explanation
.. raw:: html
.. only:: html
.. image:: /examples/40_advanced/images/thumb/sphx_glr_example_pandas_train_test_thumb.png
:alt: Performance-over-time plot
:ref:`sphx_glr_examples_40_advanced_example_pandas_train_test.py`
.. raw:: html
Performance-over-time plot
.. raw:: html
.. only:: html
.. image:: /examples/40_advanced/images/thumb/sphx_glr_example_single_configuration_thumb.png
:alt: Fit a single configuration
:ref:`sphx_glr_examples_40_advanced_example_single_configuration.py`
.. raw:: html
Fit a single configuration
.. raw:: html
.. only:: html
.. image:: /examples/40_advanced/images/thumb/sphx_glr_example_debug_logging_thumb.png
:alt: Logging and debugging
:ref:`sphx_glr_examples_40_advanced_example_debug_logging.py`
.. raw:: html
Logging and debugging
.. raw:: html
.. only:: html
.. image:: /examples/40_advanced/images/thumb/sphx_glr_example_resampling_thumb.png
:alt: Resampling Strategies
:ref:`sphx_glr_examples_40_advanced_example_resampling.py`
.. raw:: html
Resampling Strategies
.. raw:: html
.. only:: html
.. image:: /examples/40_advanced/images/thumb/sphx_glr_example_get_pipeline_components_thumb.png
:alt: Obtain run information
:ref:`sphx_glr_examples_40_advanced_example_get_pipeline_components.py`
.. raw:: html
Obtain run information
.. raw:: html
.. only:: html
.. image:: /examples/40_advanced/images/thumb/sphx_glr_example_metrics_thumb.png
:alt: Metrics
:ref:`sphx_glr_examples_40_advanced_example_metrics.py`
.. raw:: html
Metrics
.. raw:: html
===============
Search Examples
===============
Examples of changing the search procedure of Auto-sklearn.
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /examples/60_search/images/thumb/sphx_glr_example_parallel_n_jobs_thumb.png
:alt: Parallel Usage on a single machine
:ref:`sphx_glr_examples_60_search_example_parallel_n_jobs.py`
.. raw:: html
Parallel Usage on a single machine
.. raw:: html
.. only:: html
.. image:: /examples/60_search/images/thumb/sphx_glr_example_sequential_thumb.png
:alt: Sequential Usage
:ref:`sphx_glr_examples_60_search_example_sequential.py`
.. raw:: html
Sequential Usage
.. raw:: html
.. only:: html
.. image:: /examples/60_search/images/thumb/sphx_glr_example_parallel_manual_spawning_cli_thumb.png
:alt: Parallel Usage: Spawning workers from the command line
:ref:`sphx_glr_examples_60_search_example_parallel_manual_spawning_cli.py`
.. raw:: html
Parallel Usage: Spawning workers from the command line
.. raw:: html
.. only:: html
.. image:: /examples/60_search/images/thumb/sphx_glr_example_random_search_thumb.png
:alt: Random Search
:ref:`sphx_glr_examples_60_search_example_random_search.py`
.. raw:: html
Random Search
.. raw:: html
.. only:: html
.. image:: /examples/60_search/images/thumb/sphx_glr_example_successive_halving_thumb.png
:alt: Successive Halving
:ref:`sphx_glr_examples_60_search_example_successive_halving.py`
.. raw:: html
Successive Halving
.. raw:: html
==================
Extension Examples
==================
Examples of extending Auto-sklearn with custom components.
.. raw:: html
.. raw:: html
.. only:: html
.. image:: /examples/80_extending/images/thumb/sphx_glr_example_extending_data_preprocessor_thumb.png
:alt: Extending Auto-Sklearn with Data Preprocessor Component
:ref:`sphx_glr_examples_80_extending_example_extending_data_preprocessor.py`
.. raw:: html
Extending Auto-Sklearn with Data Preprocessor Component
.. raw:: html
.. only:: html
.. image:: /examples/80_extending/images/thumb/sphx_glr_example_extending_preprocessor_thumb.png
:alt: Extending Auto-Sklearn with Preprocessor Component
:ref:`sphx_glr_examples_80_extending_example_extending_preprocessor.py`
.. raw:: html
Extending Auto-Sklearn with Preprocessor Component
.. raw:: html
.. only:: html
.. image:: /examples/80_extending/images/thumb/sphx_glr_example_restrict_number_of_hyperparameters_thumb.png
:alt: Restricting the number of hyperparameters for an existing component
:ref:`sphx_glr_examples_80_extending_example_restrict_number_of_hyperparameters.py`
.. raw:: html
Restricting the number of hyperparameters for an existing component
.. raw:: html
.. only:: html
.. image:: /examples/80_extending/images/thumb/sphx_glr_example_extending_regression_thumb.png
:alt: Extending Auto-Sklearn with Regression Component
:ref:`sphx_glr_examples_80_extending_example_extending_regression.py`
.. raw:: html
Extending Auto-Sklearn with Regression Component
.. raw:: html
.. only:: html
.. image:: /examples/80_extending/images/thumb/sphx_glr_example_extending_classification_thumb.png
:alt: Extending Auto-Sklearn with Classification Component
:ref:`sphx_glr_examples_80_extending_example_extending_classification.py`
.. raw:: html
Extending Auto-Sklearn with Classification Component
.. raw:: html
.. toctree::
:hidden:
:includehidden:
/examples/20_basic/index.rst
/examples/40_advanced/index.rst
/examples/60_search/index.rst
/examples/80_extending/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: examples_python.zip `
.. container:: sphx-glr-download sphx-glr-download-jupyter
:download:`Download all examples in Jupyter notebooks: examples_jupyter.zip `
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery