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

NPE error with maxrsweep from Joe-g #6960

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

NPE error with maxrsweep from Joe-g #6960

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

Comments

@exalate-issue-sync
Copy link

No description provided.

@exalate-issue-sync
Copy link
Author

Wendy Wong commented: Here is the code from Joe-g:

{noformat}import h2o
from h2o.estimators import H2OModelSelectionEstimator

try:
h2o.cluster().shutdown()
time.sleep(5)
except AttributeError:
pass
h2o.init(min_mem_size=32)

npred = 100

hf = h2o.import_file("maxrglm200Cols50KRows.csv")

target = "response"
predictors = hf.names
predictors.remove(target)

maxrModel = H2OModelSelectionEstimator(mode="maxrsweep", max_predictor_number=npred, intercept=True)
maxrModel.train(x=predictors, y=target, training_frame=hf)
print("MaxrSweep: Time elapsed : {0}".format(maxrModel._model_json["output"]["run_time"])){noformat}

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Details

Jira Issue: PUBDEV-8763
Assignee: Wendy Wong
Reporter: Wendy Wong
State: Resolved
Fix Version: 3.38.0.1
Attachments: N/A
Development PRs: Available

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

Linked PRs from JIRA

#6250
https://github.com/h2oai/h2oai-serving/pull/1079

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