Skip to content

Commit

Permalink
style change
Browse files Browse the repository at this point in the history
  • Loading branch information
bblodfon committed Jun 21, 2024
1 parent ae8f504 commit e9f0d66
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion R/EnsembleFSResult.R
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,12 @@ EnsembleFSResult = R6Class("EnsembleFSResult",
#'
#' @return A `numeric()` value representing the stability of the selected features.
#' Or a `numeric()` vector with the stability of the selected features for each learner.
stability = function(stability_measure = "jaccard", stability_args = NULL, global = TRUE, reset_cache = FALSE) {
stability = function(
stability_measure = "jaccard",
stability_args = NULL,
global = TRUE,
reset_cache = FALSE
) {
funs = stabm::listStabilityMeasures()$Name
keys = tolower(gsub("stability", "", funs))
assert_choice(stability_measure, choices = keys)
Expand Down

0 comments on commit e9f0d66

Please sign in to comment.