Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Dec 19, 2024
1 parent 2b3dc85 commit f392d04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions R/CallbackEvaluation.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,7 @@ CallbackEvaluation= R6Class("CallbackEvaluation",
#' label = "Selected Features",
#'
#' on_evaluation_end = function(callback, context) {
#' pred = as_prediction(context$pdatas$test)
#' selected_features = pred$score(
#' measure = msr("selected_features"),
#' learner = context$learner,
#' task = context$task)
#' context$learner$state$selected_features = selected_features
#' context$learner$state$selected_features = context$learner$selected_features()
#' }
#' )
#'
Expand Down
7 changes: 1 addition & 6 deletions man/callback_evaluation.Rd

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

0 comments on commit f392d04

Please sign in to comment.