88# ' Adjusts class balance and protected group balance in order to achieve fair(er) outcomes.
99# '
1010# ' @section PipeOpReweighingWeights:
11- # ' Adds a class weight column to the [Task][ mlr3::Task] that different [`Learner`] [mlr3::Learner]s
11+ # ' Adds a class weight column to the [mlr3::Task] that different [mlr3::Learner]s
1212# ' may be using. In case initial weights are present, those are multiplied with new weights.
1313# ' Caution: Only fairness tasks are supported. Which means tasks need to have protected field.
1414# ' `tsk$col_roles$pta`.
1515# '
1616# ' @section PipeOpReweighingOversampling:
17- # ' Oversamples a [Task][ mlr3::Task] for more balanced ratios in subgroups and protected groups.
17+ # ' Oversamples a [mlr3::Task] for more balanced ratios in subgroups and protected groups.
1818# ' Can be used if a learner does not support weights.
1919# ' Caution: Only fairness tasks are supported. Which means tasks need to have protected field.
2020# ' `tsk$col_roles$pta`.
3030# ' * `param_vals` (`list()`)
3131# '
3232# ' @section Input and Output Channels:
33- # ' Input and output channels are inherited from [PipeOpTaskPreproc]. Instead of a [`Task`] [mlr3::Task], a
34- # ' [TaskClassif][ mlr3::TaskClassif] is used as input and output during training and prediction.
33+ # ' Input and output channels are inherited from [mlr3pipelines:: PipeOpTaskPreproc]. Instead of a [mlr3::Task], a
34+ # ' [mlr3::TaskClassif] is used as input and output during training and prediction.
3535# '
36- # ' The output during training is the input [Task][ mlr3::Task] with added weights column according
36+ # ' The output during training is the input [mlr3::Task] with added weights column according
3737# ' to target class. The output during prediction is the unchanged input.
3838# '
3939# ' @section State:
40- # ' The `$state` is a named `list` with the `$state` elements inherited from [PipeOpTaskPreproc].
40+ # ' The `$state` is a named `list` with the `$state` elements inherited from [mlr3pipelines:: PipeOpTaskPreproc].
4141# '
4242# ' @section Parameters:
4343# '  * `alpha` (`numeric()`): A number between 0 (no debiasing) and 1 (full debiasing).
4444# '
4545# ' @section Internals:
46- # ' Introduces, or overwrites, the "weights" column in the [Task][ mlr3::Task].
47- # ' However, the [Learner][ mlr3::Learner] method needs to
46+ # ' Introduces, or overwrites, the "weights" column in the [mlr3::Task].
47+ # ' However, the [mlr3::Learner] method needs to
4848# ' respect weights for this to have an effect.
4949# '
5050# ' The newly introduced column is named `reweighing.WEIGHTS`; there will be a naming conflict if this
5151# ' column already exists and is *not* a weight column itself.
5252# '
5353# ' @section Fields:
54- # ' Only fields inherited from [PipeOpTaskPreproc]/[` PipeOp` ].
54+ # ' Only fields inherited from [mlr3pipelines:: PipeOpTaskPreproc]/[mlr3pipelines:: PipeOp].
5555# '
5656# ' @section Methods:
57- # ' Methods inherited from [PipeOpTaskPreproc]/[` PipeOp` ].
57+ # ' Methods inherited from [mlr3pipelines:: PipeOpTaskPreproc]/[mlr3pipelines:: PipeOp].
5858# '
5959# ' @family PipeOps
6060# ' @seealso https://mlr3book.mlr-org.com/list-pipeops.html
@@ -76,7 +76,7 @@ PipeOpReweighingWeights = R6Class("PipeOpReweighingWeights",
7676  inherit  =  mlr3pipelines :: PipeOpTaskPreproc ,
7777  public  =  list (
7878    # ' @description
79-     # ' Creates a new instance of this [R6][R6 ::R6Class][PipeOp ] R6 class.
79+     # ' Creates a new instance of this [R6::R6Class][mlr3pipelines::PipeOpTaskPreproc ] R6 class.
8080    # '
8181    # ' @param id `character` \cr
8282    # '   The PipeOps identifier in the PipeOps library.
0 commit comments