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

move .filter_eval_time to standalone #1034

Merged
merged 6 commits into from
Dec 11, 2023
Merged

move .filter_eval_time to standalone #1034

merged 6 commits into from
Dec 11, 2023

Conversation

topepo
Copy link
Member

@topepo topepo commented Dec 8, 2023

As discussed in tidymodels/tune#780

The error and warning both use cli now so we might see some extratest breakages. I will investigate that.

Copy link
Member

@hfrick hfrick left a comment

Choose a reason for hiding this comment

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

All .filter_eval_time() related changes are 👍

The change in .check_cens_type() looks like a linting change to me but it causes a snaphot test in extratest to break so I would suggest undoing that one.

R/standalone-survival.R Outdated Show resolved Hide resolved
@topepo topepo merged commit e8b9c9f into main Dec 11, 2023
7 checks passed
@topepo topepo deleted the filter-standalone branch December 11, 2023 13:05
topepo added a commit to tidymodels/tune that referenced this pull request Dec 11, 2023
topepo added a commit to tidymodels/tune that referenced this pull request Dec 11, 2023
…#780)

* move function to new file

* change function order for docs

* documentation start

* updates to the show/select functions

* updates to select/show functions

* updates for selecting eval times

* remove commented out code

* bug fix

* metric test cases

* add a survival model object

* note for next PR

* select/show test cases

* small set of direct tests

* update snapshot

* Apply suggestions from code review

Co-authored-by: Hannah Frick <[email protected]>

* Apply suggestions from code review

* updates from previous review

* small cli update

* doc update

* refresh snapshots

* modularize a check

* Remake with newest CRAN version of scales for #775

* argument checks for tune functions

* Apply suggestions from code review

Co-authored-by: Hannah Frick <[email protected]>

* Apply suggestions from code review

Co-authored-by: Hannah Frick <[email protected]>

* add dot when function is invoked

* add a warning for eval times with non-survival models

* go back to enquos

* rework warning text

* rework warning text pt 2

* unit tests for regression and classification

* caller envs

* unit tests

* rework call envs

* survival unit tests

* Apply suggestions from code review

Co-authored-by: Hannah Frick <[email protected]>

* update tests for more recent version of yardstick

* use standalone file from tidymodels/parsnip#1034

---------

Co-authored-by: Hannah Frick <[email protected]>
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 Dec 26, 2023
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.

2 participants