Uploaded image for project: 'SW'
  1. SW-559

GLM fails to build model when weights are specified

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.17, 2.1.16, 2.2.2
    • Component/s: None
    • Labels:
      None

      Description

      >>> 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 "<stdin>", line 3, in <module>
       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.<init>(Frame.java:183)
       at water.fvec.Frame.<init>(Frame.java:141)
       at water.fvec.Frame.<init>(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)
      

        Attachments

          Activity

            People

            • Assignee:
              michal Michal Malohlava
              Reporter:
              nidhi Nidhi Mehta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: