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 Tree Class section in the Python documentation #8891

Closed
exalate-issue-sync bot opened this issue May 12, 2023 · 1 comment
Closed
Assignees

Comments

@exalate-issue-sync
Copy link

The http://docs.h2o.ai/h2o/latest-stable/h2o-py/docs/tree.html#h2o-tree-class section in the Python documentation is missing examples.
Also, the description needs to change from:

"Represents a model of a Tree built by one of H2O’s algorithms (GBM, Random Forest)."
to
"Represents a model of a Tree built by one of H2O’s algorithms (GBM, Random Forest, XGBoost, Isolation Forest)."

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

Examples are available https://github.com/h2oai/h2o-3/blob/master/h2o-py/tests/testdir_tree/pyunit_tree.py

The examples use the following datasets:
airlines = h2o.import_file("https://s3.amazonaws.com/h2o-public-test-data/smalldata/airlines/AirlinesTrain.csv")
cars = h2o.import_file("https://s3.amazonaws.com/h2o-public-test-data/smalldata/junit/cars_nice_header.csv")
ecg_discord = h2o.import_file("https://s3.amazonaws.com/h2o-public-test-data/smalldata/anomaly/ecg_discord_train.csv")

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Migration Info

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

Linked PRs from JIRA

#3769

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