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

Python Docs: Add examples to CoxProportionalHazards #8712

Closed
exalate-issue-sync bot opened this issue May 12, 2023 · 3 comments
Closed

Python Docs: Add examples to CoxProportionalHazards #8712

exalate-issue-sync bot opened this issue May 12, 2023 · 3 comments
Assignees

Comments

@exalate-issue-sync
Copy link

Add examples for each CoxProportionalHazards parameter to the following file, following the format that is already in use.
h2o-3/h2o-bindings/bin/custom/python/coxph.py

Many options will be the same as GBM. For others, tests are available here:
https://github.com/h2oai/h2o-3/tree/master/h2o-py/tests/testdir_algos/coxph

Use
from h2o.estimators import H2OCoxProportionalHazardsEstimator

@exalate-issue-sync
Copy link
Author

hannah.tillman commented: # {{weights_column}} still not working ([https://0xdata.atlassian.net/browse/PUBDEV-6919|https://0xdata.atlassian.net/browse/PUBDEV-6919|smart-link])

{{stratify_by}}: categorical issues (“non-categorical column ‘enum' cannot be used for stratification”). No categorical columns in heart dataset; haven’t found another dataset with a “start” and “stop” column to use for CoxPH.

@exalate-issue-sync
Copy link
Author

Angela Bartz commented: Watch https://0xdata.atlassian.net/browse/PUBDEV-6968 for info on how to use {{stratify_by}} with Python. There may be a bug.

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Migration Info

Jira Issue: PUBDEV-6924
Assignee: hannah.tillman
Reporter: hannah.tillman
State: Resolved
Fix Version: 3.28.0.1
Attachments: N/A
Development PRs: Available

Linked PRs from JIRA

#4083

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