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

Update import_model docs #15598

Closed
hannah-tillman opened this issue Jun 20, 2023 · 0 comments
Closed

Update import_model docs #15598

hannah-tillman opened this issue Jun 20, 2023 · 0 comments
Assignees
Labels
Milestone

Comments

@hannah-tillman
Copy link
Contributor

Main file: https://docs.h2o.ai/h2o/latest-stable/h2o-py/docs/h2o.html#h2o.import_file

The first sentence clearly say the dataset need exist on the cluster, however it also mentioned “this method imports remote files (i.e. files local to the server)“.

No, you can read a remote files for example from s3, http, but the path must be visible to all h2o nodes:
h2o.import_file("https://raw.githubusercontent.com/h2oai/sparkling-water/master/examples/smalldata/cars_20mpg.csv")

can we use this api to upload file from local laptop to remote h2o cluster or?

yes, you with this method you upload a file which is visible to python client.

it seems we don’t support google cloud storage(gs:/), but i guess we can use https scheme

This should be possible. it’s covered by tests.
List of supported files needs updated here (User Guide) & here (PyDocs).

For rephrase, can use explanation from R-docs.

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

No branches or pull requests

2 participants