Skip to content

Commit 410ec03

Browse files
authored
release: 0.17.1 (#985)
* release: 0.17.1 * chore: silence CRAN checks
1 parent b285c51 commit 410ec03

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@
2222
^CONTRIBUTING.md
2323
^cran-comments\.md$
2424
^CRAN-SUBMISSION$
25+
^benchmark$

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: mlr3
22
Title: Machine Learning in R - Next Generation
3-
Version: 0.17.0.9000
3+
Version: 0.17.1
44
Authors@R:
55
c(
66
person("Michel", "Lang", , "[email protected]", role = c("cre", "aut"),

NEWS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# mlr3 (development version)
1+
# mlr3 0.17.1
22

3+
* Remove `data_prototype` when resampling from `learner$state` to reduce memory consumption.
34
* Reduce number of threads used by `data.table` and BLAS to 1 when running `resample()` or `benchmark()` in parallel.
45
* Optimize runtime of `resample()` and `benchmark()` by reducing the number of hashing operations.
56

R/ResultData.R

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ ResultData = R6Class("ResultData",
4949
uhashes = data.table(uhash = unique(data$uhash))
5050
setkeyv(data, c("uhash", "iteration"))
5151

52-
data[, task_hash := task[[1]]$hash, by = "uhash"]
53-
data[, learner_phash := learner[[1]]$phash, by = "uhash"]
54-
data[, resampling_hash := resampling[[1]]$hash, by = "uhash"]
52+
task = learner = resampling = NULL
53+
data[, "task_hash" := task[[1]]$hash, by = "uhash"]
54+
data[, "learner_phash" := learner[[1]]$phash, by = "uhash"]
55+
data[, "resampling_hash" := resampling[[1]]$hash, by = "uhash"]
5556

5657
tasks = data[, list(task = .SD$task[1L]),
5758
keyby = "task_hash"]

0 commit comments

Comments
 (0)