:orphan: .. _auto_examples: Examples ======== Below is a gallery of narrated notebook examples on how and why to use skore. .. note:: If you would like to run the examples, please install their dependencies using .. code-block:: bash pip install -U skore[sphinx] .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. thumbnail-parent-div-close .. raw:: html
Getting started --------------- We recommend starting with these examples that provide an overall and gentle introduction to skore. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/getting_started/images/thumb/sphx_glr_plot_getting_started_thumb.png :alt: :doc:`/auto_examples/getting_started/plot_getting_started` .. raw:: html
Skore: getting started
.. thumbnail-parent-div-close .. raw:: html
End-to-end data science use cases --------------------------------- These examples showcase skore in action on real use cases. We aimed at showing skore's ability to: - be compatible with scikit-learn - reduce boilerplate code for some standard *de facto* data science analysis - speed-up exploration by optimizing some internal computation .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/use_cases/images/thumb/sphx_glr_plot_feature_importance_thumb.png :alt: :doc:`/auto_examples/use_cases/plot_feature_importance` .. raw:: html
EstimatorReport: Inspecting your models with the feature importance
.. raw:: html
.. only:: html .. image:: /auto_examples/use_cases/images/thumb/sphx_glr_plot_employee_salaries_thumb.png :alt: :doc:`/auto_examples/use_cases/plot_employee_salaries` .. raw:: html
Simplified and structured experiment reporting
.. raw:: html
.. only:: html .. image:: /auto_examples/use_cases/images/thumb/sphx_glr_plot_tracking_all_the_data_processing_thumb.png :alt: :doc:`/auto_examples/use_cases/plot_tracking_all_the_data_processing` .. raw:: html
Tracking all the data processing
.. thumbnail-parent-div-close .. raw:: html
Model evaluation ---------------- These examples illustrate how skore can help data scientists to improve their machine learning modelling thanks to methodological guidance and diagnostics. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/model_evaluation/images/thumb/sphx_glr_plot_custom_metrics_thumb.png :alt: :doc:`/auto_examples/model_evaluation/plot_custom_metrics` .. raw:: html
Adapt skore to your use-case by adding your own metrics
.. raw:: html
.. only:: html .. image:: /auto_examples/model_evaluation/images/thumb/sphx_glr_plot_estimator_report_thumb.png :alt: :doc:`/auto_examples/model_evaluation/plot_estimator_report` .. raw:: html
EstimatorReport: Get insights from any scikit-learn estimator
.. thumbnail-parent-div-close .. raw:: html
Checking for modeling pitfalls and remediation ---------------------------------------------- Examples for each automated check. Each script reproduces a check, and walks through fixes described in :ref:`automated_checks`. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/pitfalls_and_solutions/images/thumb/sphx_glr_plot_skd001_skd002_overfitting_underfitting_thumb.png :alt: :doc:`/auto_examples/pitfalls_and_solutions/plot_skd001_skd002_overfitting_underfitting` .. raw:: html
SKD001 & SKD002 - Overfitting and underfitting
.. raw:: html
.. only:: html .. image:: /auto_examples/pitfalls_and_solutions/images/thumb/sphx_glr_plot_skd004_high_class_imbalance_thumb.png :alt: :doc:`/auto_examples/pitfalls_and_solutions/plot_skd004_high_class_imbalance` .. raw:: html
SKD004 - High class imbalance
.. raw:: html
.. only:: html .. image:: /auto_examples/pitfalls_and_solutions/images/thumb/sphx_glr_plot_skd007_mdi_cardinality_bias_thumb.png :alt: :doc:`/auto_examples/pitfalls_and_solutions/plot_skd007_mdi_cardinality_bias` .. raw:: html
SKD007 - MDI feature importance is biased for high-cardinality features
.. raw:: html
.. only:: html .. image:: /auto_examples/pitfalls_and_solutions/images/thumb/sphx_glr_plot_skd008_correlated_features_thumb.png :alt: :doc:`/auto_examples/pitfalls_and_solutions/plot_skd008_correlated_features` .. raw:: html
SKD008 - Highly correlated input features
.. raw:: html
.. only:: html .. image:: /auto_examples/pitfalls_and_solutions/images/thumb/sphx_glr_plot_skd013_train_test_time_overlap_thumb.png :alt: :doc:`/auto_examples/pitfalls_and_solutions/plot_skd013_train_test_time_overlap` .. raw:: html
SKD013 - Train-test overlap in time series
.. raw:: html
.. only:: html .. image:: /auto_examples/pitfalls_and_solutions/images/thumb/sphx_glr_plot_skd014_skd015_hyperparameter_search_thumb.png :alt: :doc:`/auto_examples/pitfalls_and_solutions/plot_skd014_skd015_hyperparameter_search` .. raw:: html
SKD014 & SKD015: Hyperparameter search pitfalls
.. raw:: html
.. only:: html .. image:: /auto_examples/pitfalls_and_solutions/images/thumb/sphx_glr_plot_skd016_estimator_not_tuned_thumb.png :alt: :doc:`/auto_examples/pitfalls_and_solutions/plot_skd016_estimator_not_tuned` .. raw:: html
SKD016 - Estimator not tuned
.. thumbnail-parent-div-close .. raw:: html
Integrations ------------ These examples show how `skore` integrates with other libraries of the Python data science ecosystem. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/integrations/images/thumb/sphx_glr_plot_skore_mlflow_project_thumb.png :alt: :doc:`/auto_examples/integrations/plot_skore_mlflow_project` .. raw:: html
Store and retrieve Skore reports in MLflow
.. raw:: html
.. only:: html .. image:: /auto_examples/integrations/images/thumb/sphx_glr_plot_skore_hub_project_thumb.png :alt: :doc:`/auto_examples/integrations/plot_skore_hub_project` .. raw:: html
Store and retrieve reports on Skore Hub
.. raw:: html
.. only:: html .. image:: /auto_examples/integrations/images/thumb/sphx_glr_plot_sklearn_api_thumb.png :alt: :doc:`/auto_examples/integrations/plot_sklearn_api` .. raw:: html
Using skore with scikit-learn compatible estimators
.. thumbnail-parent-div-close .. raw:: html
Technical details ----------------- These examples show some technical details at the core of skore to better understand some of the mechanics under the hood. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /auto_examples/technical_details/images/thumb/sphx_glr_plot_custom_checks_thumb.png :alt: :doc:`/auto_examples/technical_details/plot_custom_checks` .. raw:: html
Adding custom checks
.. raw:: html
.. only:: html .. image:: /auto_examples/technical_details/images/thumb/sphx_glr_plot_checks_api_thumb.png :alt: :doc:`/auto_examples/technical_details/plot_checks_api` .. raw:: html
Automatic detection of modelling issues
.. raw:: html
.. only:: html .. image:: /auto_examples/technical_details/images/thumb/sphx_glr_plot_cache_mechanism_thumb.png :alt: :doc:`/auto_examples/technical_details/plot_cache_mechanism` .. raw:: html
Cache mechanism
.. raw:: html
.. only:: html .. image:: /auto_examples/technical_details/images/thumb/sphx_glr_plot_skore_local_project_thumb.png :alt: :doc:`/auto_examples/technical_details/plot_skore_local_project` .. raw:: html
Local skore Project
.. raw:: html
.. only:: html .. image:: /auto_examples/technical_details/images/thumb/sphx_glr_plot_skore_api_thumb.png :alt: :doc:`/auto_examples/technical_details/plot_skore_api` .. raw:: html
The skore API
.. raw:: html
.. only:: html .. image:: /auto_examples/technical_details/images/thumb/sphx_glr_plot_skrub_data_op_cv_thumb.png :alt: :doc:`/auto_examples/technical_details/plot_skrub_data_op_cv` .. raw:: html
Using skrub DataOp cross-validation
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: :includehidden: /auto_examples/getting_started/index.rst /auto_examples/use_cases/index.rst /auto_examples/model_evaluation/index.rst /auto_examples/pitfalls_and_solutions/index.rst /auto_examples/integrations/index.rst /auto_examples/technical_details/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 ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_