Skip to content

Commit

Permalink
Release v0.14.0 (#848)
Browse files Browse the repository at this point in the history
  • Loading branch information
mllg committed Aug 12, 2022
1 parent 7ad7d70 commit 131c277
Show file tree
Hide file tree
Showing 71 changed files with 84 additions and 78 deletions.
6 changes: 2 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: mlr3
Title: Machine Learning in R - Next Generation
Version: 0.13.4-9000
Version: 0.14.0
Authors@R:
c(person(given = "Michel",
family = "Lang",
Expand Down Expand Up @@ -72,7 +72,7 @@ Imports:
mlr3misc (>= 0.10.0),
parallelly,
palmerpenguins,
paradox (>= 0.8.0),
paradox (>= 0.10.0),
uuid
Suggests:
Matrix,
Expand All @@ -86,8 +86,6 @@ Suggests:
remotes,
rpart,
testthat (>= 3.1.0)
Remotes:
mlr-org/paradox
Encoding: UTF-8
Config/testthat/edition: 3
Config/testthat/parallel: false
Expand Down
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# mlr3 0.14.0

* Added multiclass measures: `mauc_aunu`, `mauc_aunp`, `mauc_au1u`, `mauc_au1p`.
* Measure `classif.costs` does not require a `Task` anymore.
* New converter: `as_task_unsupervised()`
* Refactored the task types in `mlr_reflections`.


# mlr3 0.13.4

* Added new options for parallelization (`"mlr3.exec_random"` and
Expand Down
4 changes: 2 additions & 2 deletions R/Learner.R
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Learner = R6Class("Learner",
#' This works differently for different encapsulation methods, see
#' [mlr3misc::encapsulate()].
#' Default is `c(train = Inf, predict = Inf)`.
#' Also see the section on error handling the mlr3book: \url{https://mlr3book.mlr-org.com/06-technical-error-handling.html}
#' Also see the section on error handling the mlr3book: \url{https://mlr3book.mlr-org.com/technical.html#error-handling}
timeout = c(train = Inf, predict = Inf),

#' @template field_man
Expand Down Expand Up @@ -476,7 +476,7 @@ Learner = R6Class("Learner",
#' Requires encapsulation, otherwise errors are not caught and the execution is terminated before the fallback learner kicks in.
#' If you have not set encapsulation manually before, setting the fallback learner automatically
#' activates encapsulation using the \CRANpkg{evaluate} package.
#' Also see the section on error handling the mlr3book: \url{https://mlr3book.mlr-org.com/06-technical-error-handling.html}
#' Also see the section on error handling the mlr3book: \url{https://mlr3book.mlr-org.com/technical.html#error-handling}
fallback = function(rhs) {
if (missing(rhs)) {
return(private$.fallback)
Expand Down
2 changes: 1 addition & 1 deletion R/PredictionClassif.R
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ PredictionClassif = R6Class("PredictionClassif", inherit = Prediction,
#'
#' @param check (`logical(1)`)\cr
#' If `TRUE`, performs some argument checks and predict type conversions.
initialize = function(task = NULL, row_ids = task$row_ids, truth = task$truth(), response = NULL, prob = NULL, check = FALSE) {
initialize = function(task = NULL, row_ids = task$row_ids, truth = task$truth(), response = NULL, prob = NULL, check = TRUE) {
pdata = new_prediction_data(
list(row_ids = row_ids, truth = truth, response = response, prob = prob),
task_type = "classif"
Expand Down
2 changes: 1 addition & 1 deletion R/PredictionRegr.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ PredictionRegr = R6Class("PredictionRegr", inherit = Prediction,
#'
#' @param check (`logical(1)`)\cr
#' If `TRUE`, performs some argument checks and predict type conversions.
initialize = function(task = NULL, row_ids = task$row_ids, truth = task$truth(), response = NULL, se = NULL, distr = NULL, check = FALSE) {
initialize = function(task = NULL, row_ids = task$row_ids, truth = task$truth(), response = NULL, se = NULL, distr = NULL, check = TRUE) {
pdata = new_prediction_data(
list(row_ids = row_ids, truth = truth, response = response, se = se, distr = distr),
task_type = "regr"
Expand Down
2 changes: 1 addition & 1 deletion man-roxygen/seealso_benchmark.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' @seealso
#'
#' * Chapter in the [mlr3book](https://mlr3book.mlr-org.com/):
#' \url{https://mlr3book.mlr-org.com/02-basics-train-predict.html}
#' \url{https://mlr3book.mlr-org.com/performance.html}
#' * Package \CRANpkg{mlr3viz} for some generic visualizations.
#' * \CRANpkg{mlr3benchmark} for post-hoc analysis of benchmark results.
#'
Expand Down
2 changes: 1 addition & 1 deletion man-roxygen/seealso_databackend.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' @seealso
#'
#' * Chapter in the [mlr3book](https://mlr3book.mlr-org.com/):
#' \url{https://mlr3book.mlr-org.com/06-technical-databases.html}
#' \url{https://mlr3book.mlr-org.com/technical.html#backends}
#' * Package \CRANpkg{mlr3db} to interface out-of-memory data,
#' e.g. SQL servers or \CRANpkg{duckdb}.
#'
Expand Down
2 changes: 1 addition & 1 deletion man-roxygen/seealso_learner.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' @seealso
#'
#' * Chapter in the [mlr3book](https://mlr3book.mlr-org.com/):
#' \url{https://mlr3book.mlr-org.com/02-basics-learners.html}
#' \url{https://mlr3book.mlr-org.com/basics.html#learners}
#' * Package \CRANpkg{mlr3learners} for a solid collection of essential learners.
#' * Package [mlr3extralearners](https://github.com/mlr-org/mlr3extralearners) for more learners.
#' * [Dictionary][mlr3misc::Dictionary] of [Learners][Learner]: [mlr_learners]
Expand Down
2 changes: 1 addition & 1 deletion man-roxygen/seealso_measure.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' @seealso
#'
#' * Chapter in the [mlr3book](https://mlr3book.mlr-org.com/):
#' \url{https://mlr3book.mlr-org.com/02-basics-train-predict.html}
#' \url{https://mlr3book.mlr-org.com/basics.html#train-predict}
#' * Package \CRANpkg{mlr3measures} for the scoring functions.
#' [Dictionary][mlr3misc::Dictionary] of [Measures][Measure]: [mlr_measures]
#' `as.data.table(mlr_measures)` for a table of available [Measures][Measure] in the running session (depending on the loaded packages).
Expand Down
2 changes: 1 addition & 1 deletion man-roxygen/seealso_prediction.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' @seealso
#'
#' * Chapter in the [mlr3book](https://mlr3book.mlr-org.com/):
#' \url{https://mlr3book.mlr-org.com/02-basics-train-predict.html}
#' \url{https://mlr3book.mlr-org.com/basics.html#train-predict}
#' * Package \CRANpkg{mlr3viz} for some generic visualizations.
#' * Extension packages for additional task types:
#' * \CRANpkg{mlr3proba} for probabilistic supervised regression and survival analysis.
Expand Down
2 changes: 1 addition & 1 deletion man-roxygen/seealso_resample.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#'
#' * [as_benchmark_result()] to convert to a [BenchmarkResult].
#' * Chapter in the [mlr3book](https://mlr3book.mlr-org.com/):
#' \url{https://mlr3book.mlr-org.com/03-perf-resampling.html}
#' \url{https://mlr3book.mlr-org.com/performance.html#sec-resampling}
#' * Package \CRANpkg{mlr3viz} for some generic visualizations.
#'
#' @family resample
2 changes: 1 addition & 1 deletion man-roxygen/seealso_resampling.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' @seealso
#
#' * Chapter in the [mlr3book](https://mlr3book.mlr-org.com/):
#' \url{https://mlr3book.mlr-org.com/03-perf-resampling.html}
#' \url{https://mlr3book.mlr-org.com/performance.html#sec-resampling}
#' * Package \CRANpkg{mlr3spatiotempcv} for spatio-temporal resamplings.
#' * [Dictionary][mlr3misc::Dictionary] of [Resamplings][Resampling]: [mlr_resamplings]
#' * `as.data.table(mlr_resamplings)` for a table of available [Resamplings][Resampling] in the running session (depending on the loaded packages).
Expand Down
2 changes: 1 addition & 1 deletion man-roxygen/seealso_task.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' @seealso
#'
#' * Chapter in the [mlr3book](https://mlr3book.mlr-org.com/):
#' \url{https://mlr3book.mlr-org.com/02-basics-tasks.html}
#' \url{https://mlr3book.mlr-org.com/basics.html#tasks}
#' * Package \CRANpkg{mlr3data} for more toy tasks.
#' * Package \CRANpkg{mlr3oml} for downloading tasks from \url{https://www.openml.org}.
#' * Package \CRANpkg{mlr3viz} for some generic visualizations.
Expand Down
2 changes: 1 addition & 1 deletion man/BenchmarkResult.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/DataBackend.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/DataBackendDataTable.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/DataBackendMatrix.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/Learner.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/LearnerClassif.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/LearnerRegr.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/Measure.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/MeasureClassif.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/MeasureRegr.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/MeasureSimilarity.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/Prediction.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/PredictionClassif.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/PredictionRegr.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/ResampleResult.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/Resampling.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/Task.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/TaskClassif.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/TaskRegr.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/TaskSupervised.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/TaskUnsupervised.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/as_data_backend.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/benchmark.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/benchmark_grid.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 131c277

Please sign in to comment.