Skip to content

case weights #692

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

Merged
merged 45 commits into from
Jun 6, 2022
Merged

case weights #692

merged 45 commits into from
Jun 6, 2022

Conversation

topepo
Copy link
Member

@topepo topepo commented Mar 25, 2022

Closes #136

@topepo topepo requested a review from DavisVaughan March 25, 2022 00:36
@topepo
Copy link
Member Author

topepo commented Mar 25, 2022

All models with case weights will be tested in extratests.

Spark support is still outstanding because there are some API issues to work out. Sparks models want a column name for the weights argument.

Copy link
Member

@DavisVaughan DavisVaughan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking pretty good so far!

topepo and others added 12 commits April 12, 2022 11:39
…705)

* Prefix everywhere we use `new_quosure()` or `empty_env()`

We don't import these, so we have to do this. Tests were only working by chance because we have `library(rlang)` in some of the test files!

* Ensure that `fit_xy()` patches the formula environment with weights

* missing roxygen tag

* avoid deprecated tests

Co-authored-by: Max Kuhn <[email protected]>
@topepo topepo marked this pull request as ready for review May 19, 2022 22:31
@DavisVaughan
Copy link
Member

DavisVaughan commented Jun 2, 2022

  • Attempt to remove convert_case_weights() because it doesn't look to be actually used anymore

@topepo topepo merged commit 2afbef6 into main Jun 6, 2022
@github-actions
Copy link

This pull request 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.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No support for weights
2 participants