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

initial survival workflows tests #104

Merged
merged 5 commits into from
Nov 13, 2023
Merged

Conversation

EmilHvitfeldt
Copy link
Member

As the title says, this PR starts the project of adding tests for censored models used in workflows

@EmilHvitfeldt
Copy link
Member Author

This PR adds does fit() and predict() for add_formula(), add_variables() and add_recipe(). There is no fit_xy() method for workflow() so that isn't tested.

For prediction both type = "time" and type = "survival" is tested.

to avoid changing `lung` for other test files and to make the tests more self-contained
@EmilHvitfeldt EmilHvitfeldt merged commit f2d0d40 into main Nov 13, 2023
5 checks passed
@EmilHvitfeldt EmilHvitfeldt deleted the survival-workflows-tests branch November 13, 2023 18:24
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

Successfully merging this pull request may close these issues.

2 participants