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

Docs is missing example of using stratify_by parameter with Python #7757

Closed
exalate-issue-sync bot opened this issue May 11, 2023 · 2 comments
Closed

Comments

@exalate-issue-sync
Copy link

In H2O-3 documentation there is no Python example for CoxPH parameter stratify_by: http://docs.h2o.ai/h2o/latest-stable/h2o-docs/data-science/algo-params/stratify_by.html

@exalate-issue-sync
Copy link
Author

Gregory Kanevsky commented: Also, helpful adding something along these lines:

{quote}that the stratify column needs to be present in the "x" list in the model .train call. (that is: x=[ "PhoneService", "MultipleLines", "InternetService", "Contract" ]) Once that was in place, everything works as expected.{quote}

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Migration Info

Jira Issue: PUBDEV-7888
Assignee: hannah.tillman
Reporter: Gregory Kanevsky
State: Resolved
Fix Version: 3.32.0.2
Attachments: N/A
Development PRs: Available

Linked PRs from JIRA

#5120

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

No branches or pull requests

2 participants