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

adding strata to coxphfitter args #270

Merged
merged 3 commits into from
Dec 29, 2016
Merged

Conversation

CamDavidsonPilon
Copy link
Owner

  • adding strata keyword argument to CoxPHFitter on initialization (ex: CoxPHFitter(strata=['v1', 'v2']). Why? Fitters initialized with strata can now be passed into k_fold_cross_validation, plus it makes unit testing strata fitters easier.

fixes #269. This really improves the test coverage of strata models

@CamDavidsonPilon CamDavidsonPilon merged commit 6a8c8e3 into master Dec 29, 2016
@CamDavidsonPilon CamDavidsonPilon deleted the adding-strata-to-fitters branch December 29, 2016 03:59
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.

add strata keyword to __init__ if coxph
1 participant