Skip to content

release: 1.0.1 #1330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 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: 1.0.0.9000
Version: 1.0.1
Authors@R:
c(
person("Michel", "Lang", , "[email protected]", role = "aut",
Expand Down Expand Up @@ -50,13 +50,13 @@ Imports:
checkmate (>= 2.0.0),
cli,
data.table (>= 1.15.0),
evaluate,
evaluate (>= 1.0.4),
future,
future.apply (>= 1.5.0),
lgr (>= 0.3.4),
mlbench,
mlr3measures (>= 1.0.0),
mlr3misc (>= 0.17.0),
mlr3misc (>= 0.18.0),
parallelly,
palmerpenguins,
paradox (>= 1.0.1),
Expand Down
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# mlr3 (development version)
# mlr3 1.0.1

* fix: The printer of `Learner` failed when the `validate` field was set.
* fix: Avoid printing empty line for feature less tasks.
* perf: Use `data.table::setattr()` for less copying.

# mlr3 1.0.0

Expand Down
2 changes: 1 addition & 1 deletion R/TaskRegr_california_housing.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#' @section Meta Information:
#' `r rd_info(tsk("california_housing"))`
#'
#' @source \url{https://www.kaggle.com/datasets/camnugent/california-housing-prices}
#' @source https://www.kaggle.com/datasets/camnugent/california-housing-prices
#'
#' @template seealso_task
NULL
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ Status](https://www.r-pkg.org/badges/version-ago/mlr3)](https://cran.r-project.o
[gallery](https://mlr-org.com/gallery.html) with case studies.
- [Reference manual](https://mlr3.mlr-org.com/reference/)
- [FAQ](https://mlr-org.com/faq.html)
- Ask questions on [Stackoverflow (tag
\#mlr3)](https://stackoverflow.com/questions/tagged/mlr3)
- Ask questions on Stackoverflow (tag mlr3)
- **Extension Learners**
- Recommended core regression, classification, and survival learners
are in [mlr3learners](https://github.com/mlr-org/mlr3learners)
Expand Down Expand Up @@ -99,7 +98,7 @@ task_penguins = as_task_classif(species ~ ., data = palmerpenguins::penguins)
task_penguins
```

##
##
## ── <TaskClassif> (344x8) ───────────────────────────────────────────────────────
## • Target: species
## • Target classes: Adelie (44%), Gentoo (36%), Chinstrap (20%)
Expand Down Expand Up @@ -141,7 +140,7 @@ measure = msr("classif.acc")
prediction$score(measure)
```

## classif.acc
## classif.acc
## 0.9651163

### Resample
Expand All @@ -166,7 +165,7 @@ rr$score(measure)[, .(task_id, learner_id, iteration, classif.acc)]
rr$aggregate(measure)
```

## classif.acc
## classif.acc
## 0.9361302

## Extension Packages
Expand Down
2 changes: 1 addition & 1 deletion man/california_housing.Rd

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

4 changes: 3 additions & 1 deletion tests/testthat/test_Task.R
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,9 @@ test_that("rbind with weights", {
new_data$w_lrn = 1001:1010
new_data$w_msr = 2010:2001
new_data$Petal.Length = new_data$Petal.Length + 100 # Change a feature to check backend update
new_data$Species = factor(sample(c("setosa", "versicolor", "virginica", "new_level"), 10, replace = TRUE)) # new factor level
new_species = sample(c("setosa", "versicolor", "virginica", "new_level"), 10, replace = TRUE) # new factor level
new_species[1] = "new_level" # include new level at least once
new_data$Species = factor(new_species)

task$rbind(new_data)

Expand Down