Skip to content

Commit 3992d0f

Browse files
slight changes in documentation
1 parent 4531e93 commit 3992d0f

File tree

4 files changed

+25
-21
lines changed

4 files changed

+25
-21
lines changed

R/PipeOpInfo.R

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,18 @@
1212
#' ```
1313
#' PipeOpInfo$new(id = "info", collect_multiplicity = FALSE, log_target = "lgr::mlr3/mlr3pipelines::info")
1414
#' ```
15-
#' * `ìd` :: `character(1)`\cr
15+
#' * `id` :: `character(1)`\cr
1616
#' Identifier of resulting object, default "info"
1717
#' * `printer` :: `list` \cr
1818
#' Optional mapping from object classes to printer functions. Custom functions override default printer-functions.
1919
#' * `collect_multiplicity` :: `logical(1)`\cr
2020
#' If `TRUE`, the input is a [`Multiplicity`] collecting channel. [`Multiplicity`] input/output is accepted and the members are aggregated.
2121
#' * `log_target` :: `character(1)`\cr
22-
#' Determines how the output is printed, can either be assigned to a logger with a specified level, or can be printer in the
23-
#' format "message", "warning" or "cat". When the log_target is specified as "none", the input will be printed as is.
24-
#' Has either he form <output>::<argument1>::<argument2> for logger output otherwise "message", "warning", "cat" or none.
22+
#' Specifies how the input object is printed to the console. By default it is
23+
#' directed to a logger, whose address can be customized using the form
24+
#' `<output>::<argument1>::<argument2>`. Otherwise it can be printed
25+
#' as "message", "warning" or "cat". When set to "none", no customized
26+
#' information about the object will be printed.
2527
#'
2628
#' @section Input and Output Channels:
2729
#' `PipeOpInfo` has one input channel called "input", it can take any type of input (*).

R/PipeOpIsomap.R

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@
1515
#' ```
1616
#' PipeOpIsomap$new(id = "isomap", ...)
1717
#' ```
18-
#' * `ìd` :: `character(1)`\cr
18+
#'
19+
#' * `id` :: `character(1)`\cr
1920
#' Identifier of resulting object, default `"isomap"`
2021
#' * `param_vals` :: named `list`\cr
2122
#' List of hyperparameter settings, overwriting the hyperparameter settings that would otherwise be set during construction. Default `list()`.
2223
#'
2324
#' @section Input and Output Channels:
2425
#' Input and output channels are inherited from [`PipeOpTaskPreproc`].
2526
#'
26-
#' The output is the input [`Task`][mlr3::Task] with the data projected on the lower dimension.
27+
#' The output is the input [`Task`][mlr3::Task] with the data projected to the lower-dimensional space.
2728
#'
2829
#' @section State:
2930
#' The `$state` is a named `list` with the `$state` elements inherited from [`PipeOpTaskPreproc`], as well as:
@@ -39,15 +40,14 @@
3940
#' The number of embedding dimensions.
4041
#' Initialized to 2.
4142
#' * `get_geod` :: `logical(1)`\cr
42-
#' Determines whether the distance matrix should be kept in the `$state`
43+
#' Determines whether the distance matrix should be kept in the `$state`.
4344
#' Initialized to `FALSE`.
4445
#' * `.mute` :: `character`\cr
45-
#' A character vector containing the elements you want to mute during training (c("message", "output")).
46-
#' Initialized to `character(0)`.
47-
#'
46+
#' A character vector of elements to mute during training (e.g. c("message", "output")).
47+
#' Default: `character(0)`.
4848
#'
4949
#' @section Internals:
50-
#' Applies the Isomap Embedding from the `dimRed`-package.
50+
#' Applies the Isomap embedding from the `dimRed`-package.
5151
#'
5252
#' @section Fields:
5353
#' Only fields inherited from [`PipeOp`].

man/mlr_pipeops_info.Rd

Lines changed: 6 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/mlr_pipeops_isomap.Rd

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)