Skip to content

Commit 09c229a

Browse files
authored
Merge pull request #146 from DoubleML/s-inrc-dev
fix mlr3 book links
2 parents 671211b + 3649457 commit 09c229a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/guide/learners.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -261,12 +261,12 @@ The minimum requirement for a learner to be used for nuisance models in the :ref
261261
* The implementation as a learner for regression or classification in the `mlr3 <https://mlr3.mlr-org.com/>`_ package
262262
or its extension packages `mlr3learners <https://mlr3learners.mlr-org.com/>`_ and
263263
`mlr3extralearners <https://mlr3extralearners.mlr-org.com/>`_ . A guide on how to add a learner is provided in the
264-
`chapter on extending learners in the mlr3 book <https://mlr3book.mlr-org.com/technical.html#sec-extending>`_ .
264+
`chapter on extending learners in the mlr3 book <https://mlr3book.mlr-org.com/chapters/chapter10/advanced_technical_aspects_of_mlr3.html#sec-extending>`_ .
265265
* The `mlr3 <https://mlr3.mlr-org.com/>`_ package makes sure that the learners satisfy some core functionalities.
266266
To specify a specific learner in :ref:`DoubleML <doubleml_package>` users can pass objects of the class
267267
`Learner <https://mlr3.mlr-org.com/reference/Learner.html>`_. A fast way to construct these objects is to use the
268268
`mlr3 <https://mlr3.mlr-org.com/>`_ function `lrn() <https://mlr3.mlr-org.com/reference/mlr_sugar.html>`_.
269-
An introduction to learners in `mlr3 <https://mlr3.mlr-org.com/>`_ is provided in the `chapter on learners of the mlr3 book <https://mlr3book.mlr-org.com/basics.html#sec-learners>`_.
269+
An introduction to learners in `mlr3 <https://mlr3.mlr-org.com/>`_ is provided in the `chapter on learners of the mlr3 book <https://mlr3book.mlr-org.com/chapters/chapter2/data_and_basic_modeling.html#sec-learners>`_.
270270
* It is also possible to pass learners that have been constructed from a pipeline with the `mlr3pipelines <https://mlr3pipelines.mlr-org.com/>`_
271271
package.
272272
* The models `DoubleML::DoubleMLIRM <https://docs.doubleml.org/r/stable/reference/DoubleMLIRM.html>`_ and
@@ -424,7 +424,7 @@ Users can also specify learners that have been constructed from a pipeline using
424424
package. In general, pipelines can be used to perform data preprocessing, feature selection, combine learners and even
425425
to perform hyperparameter tuning. In the following, we provide two examples on how to construct a single learner and how
426426
to stack different learners via a pipeline. For a more detailed introduction to `mlr3pipelines <https://mlr3pipelines.mlr-org.com/>`_,
427-
we refer to the `Pipelines Chapter in the mlr3book <https://mlr3book.mlr-org.com/pipelines.html>`_. Moreover, a
427+
we refer to the `Pipelines Chapter in the mlr3book <https://mlr3book.mlr-org.com/chapters/chapter7/sequential_pipelines.html>`_. Moreover, a
428428
notebook on how to use `mlr3pipelines <https://mlr3pipelines.mlr-org.com/>`_ in combination with :ref:`DoubleML <doubleml_package>`
429429
is available in the example gallery.
430430

@@ -482,7 +482,7 @@ Hyperparameter tuning
482482
Parameter tuning of learners for the nuisance functions of :ref:`DoubleML <doubleml_package>` models can be done via the ``tune()`` method.
483483
The ``tune()`` method passes various options and parameters to the tuning interface provided by the
484484
`mlr3tuning <https://mlr3tuning.mlr-org.com/>`_ package. The `mlr3 book <https://mlr3book.mlr-org.com/>`_ provides a
485-
`step-by-step introduction to parameter tuning <https://mlr3book.mlr-org.com/optimization.html>`_.
485+
`step-by-step introduction to parameter tuning <https://mlr3book.mlr-org.com/chapters/chapter4/hyperparameter_optimization.html>`_.
486486

487487
To illustrate the parameter tuning, we generate data from a sparse partially linear regression model.
488488

@@ -516,7 +516,7 @@ The entries in the list specify options during parameter tuning with `mlr3tuning
516516
Alternatively, ``algorithm`` can be a ``character()`` that is used as an argument in the wrapper
517517
`mlr3tuning <https://mlr3tuning.mlr-org.com/>`_ call
518518
`tnr(algorithm) <https://mlr3tuning.mlr-org.com/reference/tnr.html>`_.
519-
`The corresponding chapter in the mlr3book <https://mlr3book.mlr-org.com/optimization.html#sec-model-tuning>`_ illustrates
519+
`The corresponding chapter in the mlr3book <https://mlr3book.mlr-org.com/chapters/chapter4/hyperparameter_optimization.html#sec-tuner>`_ illustrates
520520
how the `Tuner <https://mlr3tuning.mlr-org.com/reference/Tuner.html>`_ class supports grid search, random search,
521521
generalized simulated annealing and non-linear optimization.
522522
* ``rsmp_tune`` is an object of class `mlr3 resampling <https://mlr3.mlr-org.com/reference/Resampling.html>`_
@@ -668,7 +668,7 @@ as provided by the `mlr3pipelines <https://mlr3pipelines.mlr-org.com/>`_ package
668668
define a learner via a pipeline and then perform the tuning via the ``tune()``. We will shortly repeat the lasso example
669669
from above. In general, the pipeline-based approach can be used to find optimal values not only for the parameters of
670670
one or multiple learners, but also for other parameters, which are, for example, involved in the data preprocessing. We
671-
refer to more details provided in the `Pipelines Chapter in the mlr3book <https://mlr3book.mlr-org.com/pipelines.html>`_.
671+
refer to more details provided in the `Pipelines Chapter in the mlr3book <https://mlr3book.mlr-org.com/chapters/chapter7/sequential_pipelines.html>`_.
672672

673673
.. tab-set::
674674

0 commit comments

Comments
 (0)