-
-
Notifications
You must be signed in to change notification settings - Fork 405
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
Expression handling in mlr #1576
Conversation
# Conflicts: # DESCRIPTION # R/Learner_properties.R # tests/testthat/test_base_measures.R
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem is that with some wrappers we have train
-> trainLearner
-> train
-> trainLearner
calls. Are we using the right dictionary?
R/Task_operators.R
Outdated
getTaskDictionary = function(task) { | ||
#' getTaskDictionary(task, subset = NULL) | ||
getTaskDictionary = function(task, subset = NULL) { | ||
getSubsetSize = function(subset) if (is.logical(subset)) sum(subset) else length(subset) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a PR and we now have checkTaskSubset
. This might want to be used here.
What's the status here @jakob-r ? |
The status was that it is quite hard to make sure that |
Maybe something for the next workshop? |
Looks like this isn't going to happen. Unless somebody objects, I'll close this soon. |
I guess you are right. But please do not delete the branch as it contains pretty much code that might be valuable to deal with expressions outside of mlr (in PH they are allowed at least) |
Ok, closing and leaving branch. |
Reopening #1126 after a reverted merge
Still open issues:
n
should not refer to the task size but maybe to the train set size.