Skip to content
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

erroring type check for mixture #204

Closed
simonpcouch opened this issue Nov 1, 2023 · 0 comments
Closed

erroring type check for mixture #204

simonpcouch opened this issue Nov 1, 2023 · 0 comments

Comments

@simonpcouch
Copy link
Collaborator

With example models, seeing:

st_class_1_mixed <-
  st_class_1 %>%
  blend_predictions(non_negative = FALSE, mixture = c(.25, .75))
Error in x < 0 || x > 1 : 'length = 2' in coercion to 'logical(1)'

from https://github.com/tidymodels/stacks/blame/bcdfa0bdd6e0ff7637039e2e53301193800d368f/R/blend_predictions.R#L264.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant