Skip to content

Commit 04b0739

Browse files
authored
Merge pull request #908 from mlr-org/vtreat_typo
Fix typo in param `use_parallel` of PipeOpVtreat
2 parents 5df0fc2 + e23f5fd commit 04b0739

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

NEWS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# mlr3pipelines 0.7.2-9000
2-
- Added missing error for predicting with untrained `PipeOp`s / `Graph`s.
2+
3+
* Added missing error for predicting with untrained `PipeOp`s / `Graph`s.
4+
* Fix: Corrected typo in the hyperparameter name `use_parallel` of `PipeOpVtreat`.
35

46
# mlr3pipelines 0.7.2
57

R/PipeOpVtreat.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
#' If `TRUE` use [stats::glm()] linkspace, if FALSE use [stats::lm()] for scaling.
6969
#' * `verbose` :: `logical(1)`\cr
7070
#' If `TRUE` print progress.
71-
#' * `use_paralell` :: `logical(1)`\cr
71+
#' * `use_parallel` :: `logical(1)`\cr
7272
#' If `TRUE` use parallel methods.
7373
#' * `missingness_imputation` :: `function`\cr
7474
#' Function of signature f(values: numeric, weights: numeric), simple missing value imputer.\cr
@@ -160,7 +160,7 @@ PipeOpVtreat = R6Class("PipeOpVtreat",
160160
forceSplit = p_lgl(default = FALSE, tags = c("train", "regression", "classification", "multinomial")),
161161
catScaling = p_lgl(tags = c("train", "regression", "classification", "multinomial")), # default TRUE for regression, classification, FALSE for multinomial
162162
verbose = p_lgl(default = FALSE, tags = c("train", "regression", "classification", "multinomial")),
163-
use_paralell = p_lgl(default = TRUE, tags = c("train", "regression", "classification", "multinomial")),
163+
use_parallel = p_lgl(default = TRUE, tags = c("train", "regression", "classification", "multinomial")),
164164
missingness_imputation = p_uty(
165165
default = NULL,
166166
custom_check = crate(function(x) checkmate::check_function(x, args = c("values", "weights"), null.ok = TRUE)),

man/mlr_pipeops_vtreat.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)