Skip to content

Commit

Permalink
chore: depend on new mlr3, remove workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
mllg committed Jan 20, 2022
1 parent 55a75cc commit 60da1d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ URL: https://mlr3learners.mlr-org.com,
https://github.com/mlr-org/mlr3learners
BugReports: https://github.com/mlr-org/mlr3learners/issues
Depends:
mlr3 (>= 0.12.0-9000),
mlr3 (>= 0.13.1),
R (>= 3.1.0)
Imports:
checkmate,
Expand Down
2 changes: 1 addition & 1 deletion R/helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pvec2mat = function(p, levs) {


ordered_features = function(task, learner) {
cols = names(learner$state$task_prototype %??% learner$state$data_prototype)
cols = names(learner$state$data_prototype)
task$data(cols = intersect(cols, task$feature_names))
}

Expand Down

0 comments on commit 60da1d6

Please sign in to comment.