Skip to content

Commit 9d6e15c

Browse files
AlispiraleAliceGD4
andauthored
[Issue 1616] Fix examples numbering (skrub-data#1717)
Co-authored-by: Alice Goulley <alice.goulley@decathlon.com>
1 parent 9f84cae commit 9d6e15c

25 files changed

Lines changed: 16 additions & 16 deletions

CHANGES.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,11 @@ Highlights
148148
- :mod:`selectors`, :class:`ApplyToCols` and :class:`ApplyToFrame` are now available,
149149
providing utilities for selecting columns to which a transformer should be applied
150150
in a flexible way. For more details, see the :ref:`User guide <user_guide_selectors>`
151-
and the :ref:`example <sphx_glr_auto_examples_09_apply_to_cols.py>`.
151+
and the :ref:`example <sphx_glr_auto_examples_0090_apply_to_cols.py>`.
152152

153153
- The :class:`SquashingScaler` has been added: it robustly rescales and smoothly
154154
clips numeric columns, enabling more robust handling of numeric columns
155-
with neural networks. See the :ref:`example <sphx_glr_auto_examples_10_squashing_scaler.py>`
155+
with neural networks. See the :ref:`example <sphx_glr_auto_examples_0100_squashing_scaler.py>`
156156

157157
New features
158158
------------

doc/modules/column_level_featurizing/robust_scaling.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ array([[ 3. ],
3434

3535
More information about the theory behind the scaler is available in the
3636
|SquashingScaler| documentation, while this
37-
:ref:`working example <sphx_glr_auto_examples_10_squashing_scaler.py>` compares
37+
:ref:`working example <sphx_glr_auto_examples_0100_squashing_scaler.py>` compares
3838
different scalers when used on data that include outliers.

doc/modules/data_ops/basics/building_data_ops_plan.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,5 @@ By working only on Data Ops we ensure that all the operations done on the data
9090
are added correctly to the computational graph, which then allows the resulting
9191
learner to execute all steps as intended.
9292

93-
See :ref:`sphx_glr_auto_examples_data_ops_11_data_ops_intro.py` for an introductory
93+
See :ref:`sphx_glr_auto_examples_data_ops_0110_data_ops_intro.py` for an introductory
9494
example on how to use skrub DataOps on a single dataframe.

doc/modules/data_ops/basics/control_flow.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ Finally, there are other situations where using :func:`deferred` can be helpful:
145145

146146
.. rubric:: Examples
147147

148-
- See :ref:`sphx_glr_auto_examples_data_ops_11_data_ops_intro.py` for an introductory
148+
- See :ref:`sphx_glr_auto_examples_data_ops_0110_data_ops_intro.py` for an introductory
149149
example on how to use skrub DataOps on a single dataframe.
150-
- See :ref:`sphx_glr_auto_examples_data_ops_12_multiple_tables.py` for an example
150+
- See :ref:`sphx_glr_auto_examples_data_ops_0120_multiple_tables.py` for an example
151151
of how skrub DataOps can be used to process multiple tables using dataframe APIs.
152-
- See :ref:`sphx_glr_auto_examples_data_ops_13_choices.py` for an example of
152+
- See :ref:`sphx_glr_auto_examples_data_ops_0130_choices.py` for an example of
153153
hyper-parameter tuning using skrub DataOps.

doc/modules/data_ops/ml_pipeline/applying_different_transformers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,4 @@ to obtain the final result:
150150

151151
More info on advanced column selection and manipulation be found in
152152
:ref:`user_guide_selectors` and example
153-
:ref:`sphx_glr_auto_examples_09_apply_to_cols.py`.
153+
:ref:`sphx_glr_auto_examples_0090_apply_to_cols.py`.

doc/modules/data_ops/ml_pipeline/subsampling_data.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ set to ``True`` to force using the subsampling when we call them. Note that
2626
even if we set ``keep_subsampling=True``, subsampling is not applied when using
2727
``predict``.
2828

29-
See more details in a :ref:`full example <sphx_glr_auto_examples_data_ops_14_subsampling.py>`.
29+
See more details in a :ref:`full example <sphx_glr_auto_examples_data_ops_0140_subsampling.py>`.

doc/modules/data_ops/validation/exporting_data_ops.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ or in a different environment:
6262
>>> loaded_learner.fit({"orders": new_orders_df})
6363
SkrubLearner(data_op=<Apply TableVectorizer>)
6464

65-
See :ref:`sphx_glr_auto_examples_data_ops_15_use_case.py` for an example of how
65+
See :ref:`sphx_glr_auto_examples_data_ops_0150_use_case.py` for an example of how
6666
to use the learner in a microservice.

doc/modules/data_ops/validation/hyperparameter_tuning.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ It is also possible to use :meth:`ParamSearch.plot_results` to visualize the res
141141
of the search using a parallel coordinates plot.
142142

143143
A full example of how to use hyperparameter search is available in
144-
:ref:`sphx_glr_auto_examples_data_ops_13_choices.py`.
144+
:ref:`sphx_glr_auto_examples_data_ops_0130_choices.py`.
145145

146146
|
147147

doc/modules/joining_tables/assembling.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ in the right table (the table to be added). This is done by estimating the value
5858
that the missing rows would have by training a machine learning model on the data
5959
we have access to.
6060

61-
This transformer is explored in more detail in :ref:`this example <sphx_glr_auto_examples_08_interpolation_join.py>`.
61+
This transformer is explored in more detail in :ref:`this example <sphx_glr_auto_examples_0080_interpolation_join.py>`.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
# To handle rich tabular data and feed it to a machine learning model, the
106106
# pipeline returned by |tabular_pipeline| preprocesses and encodes
107107
# strings, categories and dates using the |TableVectorizer|.
108-
# See its documentation or :ref:`sphx_glr_auto_examples_01_encodings.py` for
108+
# See its documentation or :ref:`sphx_glr_auto_examples_0010_encodings.py` for
109109
# more details. An overview of the chosen defaults is available in
110110
# :ref:`user_guide_tabular_pipeline`.
111111

@@ -124,7 +124,7 @@
124124
#
125125
# For **numerical features**, the |SquashingScaler| applies a robust
126126
# scaling technique that is less sensitive to outliers. Check the
127-
# :ref:`relative example <sphx_glr_auto_examples_10_squashing_scaler.py>`
127+
# :ref:`relative example <sphx_glr_auto_examples_0100_squashing_scaler.py>`
128128
# for more information on the feature.
129129
#
130130
# For **datetime columns**, skrub provides the |DatetimeEncoder|
@@ -183,7 +183,7 @@
183183
# which uses pre-trained language models retrieved from the HuggingFace hub to
184184
# create meaningful text embeddings.
185185
# See :ref:`user_guide_encoders_index` for more details on all the categorical encoders
186-
# provided by skrub, and :ref:`sphx_glr_auto_examples_01_encodings.py` for a
186+
# provided by skrub, and :ref:`sphx_glr_auto_examples_0010_encodings.py` for a
187187
# comparison between the different methods.
188188
#
189189

0 commit comments

Comments
 (0)