Skip to content

Commit 418ed74

Browse files
committed
release: 0.11.0
1 parent c4b0fbe commit 418ed74

4 files changed

Lines changed: 55 additions & 51 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: mlr3viz
22
Title: Visualizations for 'mlr3'
3-
Version: 0.10.1.9000
3+
Version: 0.11.0
44
Authors@R: c(
55
person("Michel", "Lang", , "michellang@gmail.com", role = "aut",
66
comment = c(ORCID = "0000-0001-9754-0393")),

NEWS.md

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,135 +1,135 @@
1-
# mlr3viz (development version)
1+
# mlr3viz 0.11.0
22

3-
- fix: Suppress warnings about unused arguments in `ggplot2::fortify()` when plotting ROC/PRC curves with newer versions of ggplot2.
4-
- refactor: plot for `LearnerSurvCoxPH` will be moved to `mlr3proba@0.8.4`
3+
* fix: Suppress warnings about unused arguments in `ggplot2::fortify()` when plotting ROC/PRC curves with newer versions of ggplot2.
4+
* refactor: plot for `LearnerSurvCoxPH` will be moved to `mlr3proba@0.8.4`.
55

66
# mlr3viz 0.10.1
77

8-
- feat: Allow passing parameters to `precrec::autoplot()` (eg `show_cb`) when plotting `BenchmarkResult` and `ResampleResult` objects, using `type` = `roc` or `prc`.
9-
- refactor: Wrong `type` in `autoplot`s now gives hints of which ones to use.
10-
- refactor: Update `EnsembleFSResult.autoplot` to use the `active_measure` field.
11-
- feat: add plot for confidence intervals (`mlr3inferr`).
8+
* feat: Allow passing parameters to `precrec::autoplot()` (eg `show_cb`) when plotting `BenchmarkResult` and `ResampleResult` objects, using `type` = `roc` or `prc`.
9+
* refactor: Wrong `type` in `autoplot`s now gives hints of which ones to use.
10+
* refactor: Update `EnsembleFSResult.autoplot` to use the `active_measure` field.
11+
* feat: add plot for confidence intervals (`mlr3inferr`).
1212

1313
# mlr3viz 0.10.0
1414

15-
- Add plot for `LearnerSurvCoxPH`.
15+
* Add plot for `LearnerSurvCoxPH`.
1616

1717
# mlr3viz 0.9.0
1818

19-
- Work with new bbotk 0.9.0 and mlr3tuning 0.21.0
20-
- Add plots for `EnsembleFSResult` object.
19+
* Work with new bbotk 0.9.0 and mlr3tuning 0.21.0
20+
* Add plots for `EnsembleFSResult` object.
2121

2222
# mlr3viz 0.8.0
2323

24-
- Work with new paradox version 1.0.0
24+
* Work with new paradox version 1.0.0
2525

2626
# mlr3viz 0.7.0
2727

28-
- Add `"prediction"` plots for classification and regression learners.
28+
* Add `"prediction"` plots for classification and regression learners.
2929

3030
# mlr3viz 0.6.2
3131

32-
- Fix snapshots for bbotk 0.7.3.
33-
- Add `"incumbent"` plot for `OptimInstanceSingleCrit`.
32+
* Fix snapshots for bbotk 0.7.3.
33+
* Add `"incumbent"` plot for `OptimInstanceSingleCrit`.
3434

3535
# mlr3viz 0.6.1
3636

37-
- Add `binwidth` argument to histogram plots.
38-
- The `"performance"` plot always connected the maximum performance values.
37+
* Add `binwidth` argument to histogram plots.
38+
* The `"performance"` plot always connected the maximum performance values.
3939
Now the minimum values are connected when the measure is minimized.
4040

4141
# mlr3viz 0.6.0
4242

43-
- Add `theme` option to `autoplot()` functions to supply a `ggplot2::theme()`.
43+
* Add `theme` option to `autoplot()` functions to supply a `ggplot2::theme()`.
4444
The default is `ggplot2::theme_minimal()`.
45-
- Remove `theme_mlr3()`.
46-
- Unify plot layouts.
47-
- Remove support for passing extra arguments to `geom_` functions via `...`.
45+
* Remove `theme_mlr3()`.
46+
* Unify plot layouts.
47+
* Remove support for passing extra arguments to `geom_` functions via `...`.
4848
This behavior was not consistent across the `autoplot()` functions.
4949

5050
# mlr3viz 0.5.10
5151

52-
- Improved documentation.
53-
- Make checks run without suggested packages.
52+
* Improved documentation.
53+
* Make checks run without suggested packages.
5454

5555
# mlr3viz 0.5.9
5656

57-
- Plots for survival objects moved to mlr3proba.
57+
* Plots for survival objects moved to mlr3proba.
5858

5959
# mlr3viz 0.5.8
6060

61-
- Compatibility fixes.
61+
* Compatibility fixes.
6262

6363
# mlr3viz 0.5.7
6464

65-
- Compatibility fix for testthat.
65+
* Compatibility fix for testthat.
6666

6767
# mlr3viz 0.5.6
6868

69-
- Compatibility fix for mlr3tuning.
70-
- Fixed position of labels in barplot for `PredictionClassif`.
69+
* Compatibility fix for mlr3tuning.
70+
* Fixed position of labels in barplot for `PredictionClassif`.
7171

7272

7373
# mlr3viz 0.5.5
7474

75-
- Fixed another bug for ROC- and Precision-recall-curves (#79).
75+
* Fixed another bug for ROC- and Precision-recall-curves (#79).
7676

7777
# mlr3viz 0.5.4
7878

79-
- Fixed a bug for ROC- and Precision-recall-curves (#72, #75).
79+
* Fixed a bug for ROC- and Precision-recall-curves (#72, #75).
8080

8181
# mlr3viz 0.5.3
8282

83-
- New autoplot for `LearnerClustHclust`.
83+
* New autoplot for `LearnerClustHclust`.
8484

8585
# mlr3viz 0.5.2
8686

87-
- New autoplot for `TuningInstanceSingleCrit` from package `mlr3tuning`.
88-
- Fixed bugs in autoplot function for `BenchmarkResult` (#63, #65).
89-
- Fixed a bug in autoplot function for `PredictionClust` (#67).
87+
* New autoplot for `TuningInstanceSingleCrit` from package `mlr3tuning`.
88+
* Fixed bugs in autoplot function for `BenchmarkResult` (#63, #65).
89+
* Fixed a bug in autoplot function for `PredictionClust` (#67).
9090

9191
# mlr3viz 0.5.1
9292

93-
- Fix test on solaris.
93+
* Fix test on solaris.
9494

9595

9696
# mlr3viz 0.5.0
9797

98-
- New autoplot for `PredictionSurv`.
99-
- New autoplots for learners from package `glmnet` via `ggfortify`.
100-
- Fixed ROC and PRC plots for resampling `"holdout"` (#54).
101-
- If possible, we now show confidence bounds for ROC and PRC plots (#55).
102-
- Fixed a bug in autoplot function `TaskDens` (#57).
98+
* New autoplot for `PredictionSurv`.
99+
* New autoplots for learners from package `glmnet` via `ggfortify`.
100+
* Fixed ROC and PRC plots for resampling `"holdout"` (#54).
101+
* If possible, we now show confidence bounds for ROC and PRC plots (#55).
102+
* Fixed a bug in autoplot function `TaskDens` (#57).
103103

104104

105105
# mlr3viz 0.4.0
106106

107-
- All `autoplot.*()` functions now also have a generic S3 `plot()` sibling (#51).
108-
- New plots for cluster tasks, learners and predictions from `mlr3cluster`.
109-
- Fixed wrong labels for boxplots of `BenchmarkResult`.
107+
* All `autoplot.*()` functions now also have a generic S3 `plot()` sibling (#51).
108+
* New plots for cluster tasks, learners and predictions from `mlr3cluster`.
109+
* Fixed wrong labels for boxplots of `BenchmarkResult`.
110110

111111

112112
# mlr3viz 0.3.0
113113

114-
- Compatibility with `mlr3` >= 0.6.0.
114+
* Compatibility with `mlr3` >= 0.6.0.
115115

116116

117117
# mlr3viz 0.2.0
118118

119-
- Added plots for `TaskDens` and `TaskSurv` from package `mlr3proba`.
120-
- Update documentation of `PredictionRegr` (#23)
121-
- `autoplot.BenchmarkResult()`: Support for learners with identical IDs (#19)
122-
- Fixed a bug in `plot_learner_prediction()` (#47)
119+
* Added plots for `TaskDens` and `TaskSurv` from package `mlr3proba`.
120+
* Update documentation of `PredictionRegr` (#23)
121+
* `autoplot.BenchmarkResult()`: Support for learners with identical IDs (#19)
122+
* Fixed a bug in `plot_learner_prediction()` (#47)
123123

124124

125125
# mlr3viz 0.1.1
126126

127-
- New plot: learner prediction for objects of class `ResampleResult`.
127+
* New plot: learner prediction for objects of class `ResampleResult`.
128128
Additionally, the helper function `plot_learner_prediction()` first performs a
129129
`resample()` and then plots the result.
130-
- New plot: residual plot for objects of class `PredictionRegr`.
130+
* New plot: residual plot for objects of class `PredictionRegr`.
131131

132132

133133
# mlr3viz 0.1.0
134134

135-
- Initial CRAN release
135+
* Initial CRAN release

R/BenchmarkResult.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#'
2929
#' @export
3030
#' @examples
31+
#' \donttest{
3132
#' if (mlr3misc::require_namespaces("precrec", quietly = TRUE)) {
3233
#' tasks = tsks(c("pima", "sonar"))
3334
#' learner = lrns(c("classif.featureless", "classif.rpart"), predict_type = "prob")
@@ -38,6 +39,7 @@
3839
#' autoplot(object)
3940
#' autoplot(object$clone(deep = TRUE)$filter(task_ids = "pima"), type = "roc")
4041
#' }
42+
#' }
4143
autoplot.BenchmarkResult = function(object, type = "boxplot", measure = NULL, theme = theme_minimal(), ...) {
4244
assert_choice(type, choices = c("boxplot", "roc", "prc", "ci"), null.ok = FALSE)
4345

R/OptimInstanceBatchSingleCrit.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
#'
4545
#' @export
4646
#' @examples
47+
#' \donttest{
4748
#' if (mlr3misc::require_namespaces(c("paradox", "bbotk", "patchwork"), quietly = TRUE)) {
4849
#' library(bbotk)
4950
#'
@@ -83,6 +84,7 @@
8384
#' # plot incumbent
8485
#' print(autoplot(instance, type = "incumbent"))
8586
#' }
87+
#' }
8688
autoplot.OptimInstanceBatchSingleCrit = function(object, type = "marginal", cols_x = NULL, trafo = FALSE, learner = mlr3::lrn("regr.ranger"), grid_resolution = 100, batch = NULL, theme = theme_minimal(), ...) { # nolint
8789
assert_choice(type, choices = c("marginal", "performance", "parameter", "parallel",
8890
"points", "surface", "pairs", "incumbent"), null.ok = FALSE)

0 commit comments

Comments
 (0)