Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs(skore): Update the user guide documentation - #2688

Open
glemaitre wants to merge 4 commits into
probabl-ai:mainfrom
glemaitre:rework_user_guide
Open

docs(skore): Update the user guide documentation#2688
glemaitre wants to merge 4 commits into
probabl-ai:mainfrom
glemaitre:rework_user_guide

Conversation

@glemaitre

Copy link
Copy Markdown
Member

closes #1993

Revamp the documentation of the user guide. It is just an update given the recent changes that we have and it does not really change the narrative.

With the work on diagnosis, the user guide will become more interesting I think.

@github-actions

github-actions Bot commented Mar 29, 2026

Copy link
Copy Markdown
Contributor

Documentation preview @ ec7fb7d

@auguste-probabl
auguste-probabl self-requested a review March 30, 2026 08:30

@GaetandeCast GaetandeCast left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Here is a first pass.

Refer to the :ref:`cross_validation_metrics` section for more details on the
metrics available in `skore` for cross-validation.
- **Classification**: accuracy, precision, and recall. For **binary** classification,
ROC AUC is included as well, and if the estimator defines ``predict_proba``, Brier

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ROC AUC is included as well

Only if predict_proba or decision_function is available

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ROC AUC is included as well

Only if predict_proba or decision_function is available

That's only for binary classification models, otherwise it is included only if predict_proba is available

Comment on lines +116 to +119
The **inspection** accessor surfaces model internals and explanations that depend on
the estimator family: for example coefficients for linear models, or feature
importance–style summaries for tree-based models. What is available follows the
estimator you passed to :func:`~skore.evaluate`.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section could receive a bit of love. First a link to the inspection section of the API would be welcomed. Also this

feature importance style summaries for tree-based models.

is too vague IMO, call it "impurity based feature importance for tree-based models" or smth.
Also I'd rather we advertise the permutation importance first as it is the preferred method of model inspection (of those proposed in skore at least).

Comment thread sphinx/user_guide/reporters.rst Outdated
Comment thread sphinx/user_guide/reporters.rst Outdated
Comment thread sphinx/user_guide/displays.rst Outdated
The :meth:`EstimatorReport.metrics.roc` creates a :class:`RocCurveDisplay` object.
Here :meth:`EstimatorReport.metrics.roc` returns a :class:`RocCurveDisplay`. Other
report facets expose other display types (confusion matrices, prediction errors, data
summaries, and so on); see the report sections in the reference and

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add link to "report sections" ?

Comment thread sphinx/user_guide/displays.rst
Comment thread sphinx/user_guide/project.rst Outdated

@auguste-probabl auguste-probabl left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. I think this could be a bit less verbose (e.g. the details on the default metrics), and could be rephrased with e.g. fewer emdashes and fewer emphases (*) which distract the eye.

Comment thread sphinx/user_guide/displays.rst Outdated
Comment thread sphinx/user_guide/displays.rst Outdated
df = display.frame()
df.head()

For the full list of display classes and report accessors, see the API reference.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a link to the API reference

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overuse of emdash is an LLM smell, can you rephrase?

Comment thread sphinx/user_guide/project.rst Outdated
Comment thread sphinx/user_guide/project.rst Outdated
Comment thread sphinx/user_guide/project.rst Outdated
Comment thread sphinx/user_guide/reporters.rst Outdated
Comment thread sphinx/user_guide/reporters.rst Outdated
Comment on lines +98 to +102
- **Classification**: accuracy, precision, and recall. For **binary** classification,
ROC AUC is included as well, and if the estimator defines ``predict_proba``, Brier
score is added. For **multiclass** classification, if ``predict_proba`` is
available, ROC AUC and log loss are added to the defaults.
- **Regression**: R² (``r2``) and root mean squared error (``rmse``).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is currently up for debate here; do we want to be that specific?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will update when it is not true anymore :)

@auguste-probabl auguste-probabl Mar 30, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather add this detailed info in the API docs of summarize and then link to it here; at least this way the docs might not get de-synced as easily.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAE and MAPE are also in the default regression metrics now

Co-authored-by: Gaétan de Castellane <[email protected]>
Co-authored-by: Auguste Baum <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(skore): Update the entire User Guide

3 participants