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

GLM fails to build model when weights are specified #4153

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

GLM fails to build model when weights are specified #4153

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

Comments

@exalate-issue-sync
Copy link

{code:java}

glm_model.train(y=response_column,
... training_frame=h2o_new,
... weights_column=weights)
glm Model Build progress: |██████████████▊ (failed) | 22%
Traceback (most recent call last):
File "", line 3, in
File "H2O/sparkling-water-2.1.14/py/build/dist/h2o_pysparkling_2.1-2.1.14.zip/h2o/estimators/estimator_base.py", line 208, in train
File "/H2O/sparkling-water-2.1.14/py/build/dist/h2o_pysparkling_2.1-2.1.14.zip/h2o/job.py", line 77, in poll
EnvironmentError: Job with key $0300ffffffff$_9aff98409182fabca6fffc53e0944882 failed with an exception: java.lang.IllegalArgumentException: Vec C2 is not compatible with the rest of the frame
stacktrace:
java.lang.IllegalArgumentException: Vec C2 is not compatible with the rest of the frame
at water.fvec.Frame.checkCompatibility(Frame.java:276)
at water.fvec.Frame.(Frame.java:183)
at water.fvec.Frame.(Frame.java:141)
at water.fvec.Frame.(Frame.java:136)
at water.MRTask.doAll(MRTask.java:377)
at water.MRTask.doAll(MRTask.java:376)
at hex.GainsLift.exec(GainsLift.java:125)
at hex.glm.GLMMetricBuilder.makeModelMetrics(GLMMetricBuilder.java:196)
at hex.glm.GLMModel.predictScoreImpl(GLMModel.java:1240)
at hex.Model.score(Model.java:1118)
at hex.Model.score(Model.java:1066)
at hex.glm.GLM$GLMDriver.scoreAndUpdateModel(GLM.java:996)
at hex.glm.GLM$GLMDriver.computeImpl(GLM.java:1133)
at hex.ModelBuilder$Driver.compute2(ModelBuilder.java:173)
at hex.glm.GLM$GLMDriver.compute2(GLM.java:543)
at water.H2O$H2OCountedCompleter.compute(H2O.java:1255)
at jsr166y.CountedCompleter.exec(CountedCompleter.java:468)
at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)
at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)
at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)
at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
{code}

@exalate-issue-sync
Copy link
Author

Jakub Hava commented: Fixed in H2O. This jira represents the tests in sw environment

@DinukaH2O
Copy link

JIRA Issue Migration Info

Jira Issue: SW-559
Assignee: Michal Malohlava
Reporter: Nidhi Mehta
State: Resolved
Fix Version: 2.0.17
Attachments: N/A
Development PRs: Available

Linked PRs from JIRA

h2oai/h2o-3#1661
#414

@hasithjp
Copy link
Member

JIRA Issue Migration Info Cont'd

Jira Issue Created Date: 2017-10-18T14:46:20.360-0700

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

3 participants