Skip to content

Commit e31b693

Browse files
committed
Merge branch 'master' into fix/pkgdown
2 parents 43b02ab + 044762e commit e31b693

32 files changed

+62
-42
lines changed

NEWS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# mlr3pipelines 0.5.0-9000
22

3+
4+
# mlr3pipelines 0.5.0-2
5+
6+
* Avoid unnecessarily large serializations of `ppl("robustify")` pipelines.
7+
* Made tests and examples compatible with mlr3 update.
8+
39
# mlr3pipelines 0.5.0-1
410

511
* Bugfix: `PipeOpTuneThreshold` was not overloading the correct `.train` and `.predict` functions.

R/PipeOpColRoles.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
#'
4545
#' task = tsk("boston_housing")
4646
#' pop = po("colroles", param_vals = list(
47-
#' new_role = list(cmedv = "order")
47+
#' new_role = list(town = c("order", "feature"))
4848
#' ))
4949
#'
5050
#' pop$train(list(task))

R/PipeOpFilter.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
#' @examples
8383
#' library("mlr3")
8484
#' library("mlr3filters")
85+
#' \dontshow{data.table::setDTthreads(1)}
8586
#'
8687
#' # setup PipeOpFilter to keep the 5 most important
8788
#' # features of the spam task w.r.t. their AUC

R/PipeOpMissingIndicators.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
#' @export
5656
#' @examples
5757
#' library("mlr3")
58+
#' \dontshow{data.table::setDTthreads(1)}
5859
#'
5960
#' task = tsk("pima")$select(c("insulin", "triceps"))
6061
#' sum(complete.cases(task$data()))

R/PipeOpTuneThreshold.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ PipeOpTuneThreshold = R6Class("PipeOpTuneThreshold",
116116
.optimize_objfun = function(pred) {
117117
optimizer = self$param_set$values$optimizer
118118
if (inherits(optimizer, "character")) optimizer = bbotk::opt(optimizer)
119+
if (inherits(optimizer, "OptimizerGenSA")) optimizer$param_set$values$trace.mat = TRUE # https://github.com/mlr-org/bbotk/issues/214
119120
ps = private$.make_param_set(pred)
120121
measure = self$param_set$values$measure
121122
if (is.character(measure)) measure = msr(measure) else measure

README.Rmd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ Single computational steps can be represented as so-called **PipeOps**, which ca
6868

6969
## Documentation
7070

71-
The easiest way to get started is reading some of the vignettes that are shipped with the package, which can also be viewed online:
71+
A good way to get into `mlr3pipelines` are the following two vignettes:
7272

73-
* [Quick Introduction](https://mlr3book.mlr-org.com/pipelines.html), with short examples to get started
73+
* [Sequential Pipelines](https://mlr3book.mlr-org.com/chapters/chapter7/sequential_pipelines.html)
74+
* [Non-Sequential Pipelines and Tuning](https://mlr3book.mlr-org.com/chapters/chapter8/non-sequential_pipelines_and_tuning.html)
7475

7576
## Bugs, Questions, Feedback
7677

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,10 @@ are:
8181

8282
## Documentation
8383

84-
The easiest way to get started is reading some of the vignettes that are
85-
shipped with the package, which can also be viewed online:
84+
A good way to get into `mlr3pipelines` are the following two vignettes:
8685

87-
- [Quick Introduction](https://mlr3book.mlr-org.com/pipelines.html),
88-
with short examples to get started
86+
- [Sequential Pipelines](https://mlr3book.mlr-org.com/chapters/chapter7/sequential_pipelines.html)
87+
- [Non-Sequential Pipelines and Tuning](https://mlr3book.mlr-org.com/chapters/chapter8/non-sequential_pipelines_and_tuning.html)
8988

9089
## Bugs, Questions, Feedback
9190

man/mlr_pipeops_colroles.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_filter.Rd

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

man/mlr_pipeops_missind.Rd

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

0 commit comments

Comments
 (0)