-
Notifications
You must be signed in to change notification settings - Fork 27
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
handling columns called class
#125
Comments
Another edge case I'd anticipate we need to handle—ensure this works when a level of an outcome is |
I was just about to report this. It seems like you can't have the word "class" in your outcome levels at all. I changed the name of the variable |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue. |
stacks currently fails when a
classification
outcome name isclass
. The issue arises here:stacks/R/add_candidates.R
Lines 282 to 285 in 4843385
The logic here selects class probability predictions and the true outcome and gets rid of columns with
.pred_class
(i.e. the columns with hard class predictions), as the ensemble doesn't make use of hard class predictions in stacking models. {tune} (or some other dependency) labels hard class prediction columns as.pred_colname
.Created on 2022-04-28 by the reprex package (v2.0.1)
stacks ought to handle that column selecting more elegantly.
Reported in #120.
The text was updated successfully, but these errors were encountered: