Skip to content

Commit

Permalink
release: 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Jan 15, 2025
1 parent ab6360a commit 3842269
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 14 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: mlr3fselect
Title: Feature Selection for 'mlr3'
Version: 1.2.1.9000
Version: 1.3.0
Authors@R: c(
person("Marc", "Becker", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-8115-0400")),
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,4 @@ importFrom(utils,bibentry)
importFrom(utils,combn)
importFrom(utils,head)
importFrom(utils,packageVersion)
importFrom(utils,tail)
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# mlr3fselect (development version)
# mlr3fselect 1.3.0

* refactor: Use [fastVoteR](https://github.com/bblodfon/fastVoteR) for feature ranking in `EnsembleFSResult()` objects
* feat: Add embedded ensemble feature selection `embedded_ensemble_fselect()`
Expand Down
5 changes: 2 additions & 3 deletions R/ArchiveBatchFSelect.R
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ ArchiveBatchFSelect = R6Class("ArchiveBatchFSelect",
tab = if (is.null(batch)) self$data else self$data[list(batch), , on = "batch_nr"]

if (self$codomain$target_length == 1L) {
y = tab[[self$cols_y]] * -self$codomain$maximization_to_minimization

y = tab[[self$cols_y]] * -self$codomain$direction
if (ties_method == "least_features") {
ii = which(y == max(y))
tab = tab[ii]
Expand All @@ -197,7 +196,7 @@ ArchiveBatchFSelect = R6Class("ArchiveBatchFSelect",
}
} else {
ymat = t(as.matrix(tab[, self$cols_y, with = FALSE]))
ymat = self$codomain$maximization_to_minimization * ymat
ymat = self$codomain$direction * ymat
tab[!is_dominated(ymat)]
}
}
Expand Down
1 change: 0 additions & 1 deletion R/FSelectInstanceBatchSingleCrit.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
#'
#' * Utilize the built-in feature importance of models with [Recursive Feature Elimination](https://mlr-org.com/gallery/optimization/2023-02-07-recursive-feature-elimination/).
#' * Run a feature selection with [Shadow Variable Search](https://mlr-org.com/gallery/optimization/2023-02-01-shadow-variable-search/).
#' * [Feature Selection](https://mlr-org.com/gallery/optimization/2020-09-14-mlr3fselect-basic/) on the Titanic data set.
#'
#' @template param_task
#' @template param_learner
Expand Down
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' @import mlr3
#' @import bbotk
#' @importFrom R6 R6Class
#' @importFrom utils combn head packageVersion
#' @importFrom utils combn head tail packageVersion
#' @importFrom stats sd
"_PACKAGE"

Expand Down
1 change: 0 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ The [gallery](https://mlr-org.com/gallery.html) features a collection of case st

* Utilize the built-in feature importance of models with [Recursive Feature Elimination](https://mlr-org.com/gallery/optimization/2023-02-07-recursive-feature-elimination/).
* Run a feature selection with [Shadow Variable Search](https://mlr-org.com/gallery/optimization/2023-02-01-shadow-variable-search/).
* [Feature Selection](https://mlr-org.com/gallery/optimization/2020-09-14-mlr3fselect-basic/) on the Titanic data set.

The [cheatsheet](https://cheatsheets.mlr-org.com/mlr3fselect.pdf) summarizes the most important functions of mlr3fselect.

Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ case studies and demos about optimization.
Elimination](https://mlr-org.com/gallery/optimization/2023-02-07-recursive-feature-elimination/).
- Run a feature selection with [Shadow Variable
Search](https://mlr-org.com/gallery/optimization/2023-02-01-shadow-variable-search/).
- [Feature
Selection](https://mlr-org.com/gallery/optimization/2020-09-14-mlr3fselect-basic/)
on the Titanic data set.

The [cheatsheet](https://cheatsheets.mlr-org.com/mlr3fselect.pdf)
summarizes the most important functions of mlr3fselect.
Expand Down
1 change: 0 additions & 1 deletion man/FSelectInstanceBatchSingleCrit.Rd

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

1 change: 0 additions & 1 deletion man/fselect.Rd

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

1 change: 0 additions & 1 deletion man/fsi.Rd

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

0 comments on commit 3842269

Please sign in to comment.