Skip to content

Commit 30cf196

Browse files
authored
Merge pull request #939 from mlr-org/version-0.9.0
Version 0.9.0
2 parents 346b0ae + 4b22d2b commit 30cf196

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: mlr3pipelines
22
Title: Preprocessing Operators and Pipelines for 'mlr3'
3-
Version: 0.8.0-9000
3+
Version: 0.9.0
44
Authors@R:
55
c(person(given = "Martin",
66
family = "Binder",

NEWS.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
# mlr3pipelines 0.8.0-9000
1+
# mlr3pipelines 0.9.0
2+
23
* Breaking change: Removed initialization of `PipeOpImputeConstant`'s `constant` hyperparameter since it was incompatible with other defaults and would lead to not recommended usage (creating an empty level).
3-
* Fixed a grammatical error in `PipeOp`'s error message wrapper: now correctly says "This happened *in* ...".
4+
* Removed compatibility for old `paradox` versions pre-1.0.0.
45
* Added `empty_level_control` argument to `PipeOpImpute` allowing control over edge cases for `factor`/`ordered` columns.
56
* Set new construction argument `empty_level_control` to `"param"` for `PipeOpImputeOOR` and to `"always"` for `PipeOpImputeConstant`.
6-
* Fix: `PipeOpImputeOOR` now imputes `".MISSING"` for `factor`/`ordered` features with only `NA`s instead of sampling from the feature's levels.
7-
* Fix: `PipeOpImputeLearner` no longer adds `"factor"` or `"ordered"` levels for these feature types arbitrarily and instead updates levels correctly in certain edge-cases.
8-
* Fixed the error message for unexpected Multiplicities in the input and output type checking during `PipeOp`s training and prediction.
97
* Untrained `PipeOp`s that take `NULL` as input during training now automatically perform training during prediction.
108
* `PipeOpImputeConstant`, `PipeOpImputeMode`, `PipeOpImputeOOR`, and `PipeOpImputeLearner` can now handle `factor` or `ordered` features with zero levels.
119
* `PipeOpImputeConstant` now gives a more informative error message if `check_levels` is `TRUE` and a new level would be created through imputation.
12-
* Removed compatibility for old `paradox` versions pre-1.0.0.
10+
* Fix: `PipeOpImputeOOR` now imputes `".MISSING"` for `factor`/`ordered` features with only `NA`s instead of sampling from the feature's levels.
11+
* Fix: `PipeOpImputeLearner` no longer adds `"factor"` or `"ordered"` levels for these feature types arbitrarily and instead updates levels correctly in certain edge-cases.
12+
* Fixed the error message for unexpected Multiplicities in the input and output type checking during `PipeOp`s training and prediction.
13+
* Fixed a grammatical error in `PipeOp`'s error message wrapper: now correctly says "This happened *in* ...".
1314

1415
# mlr3pipelines 0.8.0
1516

R/PipeOpImputeOOR.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#' This type of imputation is especially sensible in the context of tree-based methods, see also
1515
#' Ding & Simonoff (2010).
1616
#'
17-
#' [`Learner`s][mlr3::Learner] expect input [`Task`s][mlr3::Task] to have the same `factor` (or `ordered`) levels during
17+
#' [`Learner`][mlr3::Learner]s expect input [`Task`][mlr3::Task]s to have the same `factor` (or `ordered`) levels during
1818
#' training as well as prediction. This `PipeOp` modifies the levels of `factor` and `ordered` features,
1919
#' and since it may occur that a `factor` or `ordered` feature contains missing values only during prediction, but not
2020
#' during training, the output `Task` could also have different levels during the two stages.

man/PipeOpImpute.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.

man/mlr_pipeops_imputeoor.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)