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

Create examples for the Binomial Models section in the Python documentation #8920

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

Comments

@exalate-issue-sync
Copy link

The http://docs.h2o.ai/h2o/latest-stable/h2o-py/docs/model_categories.html#module-h2o.model.binomial section in the Python documentation is missing examples. In addition, the example for F1 is not correct.

The source file is located at h2o-3/h2o-py/model/binomial.py

Binomial examples are available in this https://github.com/h2oai/h2o-3/blob/master/h2o-py/tests/testdir_misc/pyunit_metric_accessors.py#L99

The examples use the cars dataset:
cars = h2o.import_file("https://s3.amazonaws.com/h2o-public-test-data/smalldata/junit/cars_20mpg.csv")

@exalate-issue-sync
Copy link
Author

hannah.tillman commented: fpr, fnr, tpr, tnr (and all aliases) not working. Get the error: “No metric tnr/tpr/fnr/fpr”

@exalate-issue-sync
Copy link
Author

Angela Bartz commented: fpr, fnr, tpr, tnr, etc fixed with https://0xdata.atlassian.net/browse/PUBDEV-6366

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Migration Info

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

Linked PRs from JIRA

#3869

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