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

java.lang.AssertionError:at hex.AUC2$ThresholdCriterion #8211

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

java.lang.AssertionError:at hex.AUC2$ThresholdCriterion #8211

exalate-issue-sync bot opened this issue May 11, 2023 · 1 comment

Comments

@exalate-issue-sync
Copy link

{code:java}
04-01 16:26:35.657 127.0.0.1:54321 20185 #8164-18 ERRR: java.lang.AssertionError: 1005.1403389830544 0.0 0.0 4794.803464357094
04-01 16:26:35.657 127.0.0.1:54321 20185 #8164-18 ERRR: at hex.AUC2$ThresholdCriterion$8.exec(AUC2.java:68)
04-01 16:26:35.657 127.0.0.1:54321 20185 #8164-18 ERRR: at hex.AUC2$ThresholdCriterion.exec(AUC2.java:98)
04-01 16:26:35.657 127.0.0.1:54321 20185 #8164-18 ERRR: at water.api.schemas3.ModelMetricsBinomialV3.fillFromImpl(ModelMetricsBinomialV3.java:94)
04-01 16:26:35.657 127.0.0.1:54321 20185 #8164-18 ERRR: at water.api.schemas3.ModelMetricsBinomialV3.fillFromImpl(ModelMetricsBinomialV3.java:10)
04-01 16:26:35.657 127.0.0.1:54321 20185 #8164-18 ERRR: at hex.schemas.GridSchemaV99.fillFromImpl(GridSchemaV99.java:135)
04-01 16:26:35.657 127.0.0.1:54321 20185 #8164-18 ERRR: at water.api.GridsHandler.fetch(GridsHandler.java:41)
04-01 16:26:35.657 127.0.0.1:54321 20185 #8164-18 ERRR: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
04-01 16:26:35.657 127.0.0.1:54321 20185 #8164-18 ERRR: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
04-01 16:26:35.657 127.0.0.1:54321 20185 #8164-18 ERRR: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
04-01 16:26:35.657 127.0.0.1:54321 20185 #8164-18 ERRR: at java.base/java.lang.reflect.Method.invoke(Method.java:567)
04-01 16:26:35.657 127.0.0.1:54321 20185 #8164-18 ERRR: at water.api.Handler.handle(Handler.java:60)
04-01 16:26:35.657 127.0.0.1:54321 20185 #8164-18 ERRR: at water.api.RequestServer.serve(RequestServer.java:470)
04-01 16:26:35.657 127.0.0.1:54321 20185 #8164-18 ERRR: at water.api.RequestServer.doGeneric(RequestServer.java:301)
04-01 16:26:35.657 127.0.0.1:54321 20185 #8164-18 ERRR: at water.api.RequestServer.doGet(RequestServer.java:225)
04-01 16:26:35.657 127.0.0.1:54321 20185 #8164-18 ERRR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
04-01 16:26:35.657 127.0.0.1:54321 20185 #8164-18 ERRR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
04-01 1
{code}

{code:java}
train_df=h2o.import_file(path=".../train_df.csv")

train_df["target"]=train_df["target"].asfactor()
x=train_df.names

x.remove("target")
x.remove("target_bin")

from h2o.grid.grid_search import H2OGridSearch
from h2o.estimators import H2OGradientBoostingEstimator

grid_space = dict(
ntrees=[10, 30, 50, 70],
max_depth=[2, 4, 6, 8],
stopping_tolerance=[0.99, 0.1, 0.01, 0.001],
min_rows=[15, 30, 50, 100],
learn_rate=[0.01, 0.03, 0.1, 0.3, 1]
)
grid_criteria = dict(
strategy="RandomDiscrete",
max_models=30,
max_runtime_secs=120,
seed=1
)

grid_search = H2OGridSearch(H2OGradientBoostingEstimator, grid_space, 'grid_search', grid_criteria)
grid_search.train(training_frame=train_df, x=x, y="target", seed=1, weights_column = "Weight",sample_rate=1,check_constant_response=False)

{code}

data to repro in - https://support.h2o.ai/a/tickets/96788

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Migration Info

Jira Issue: PUBDEV-7426
Assignee: Veronika Maurerová
Reporter: Nidhi Mehta
State: Resolved
Fix Version: 3.30.0.2
Attachments: N/A
Development PRs: Available

Linked PRs from JIRA

#4537

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

1 participant