java.lang.AssertionError: newLambda = NaN, last lambda = NaN

JIRA | Amy Wang | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Parse attached file with first two columns as enum parseFiles source_frames: ["hdf-2.csv"] destination_frame: "Key_Frame__hdf_2.hex" parse_type: "CSV" separator: 44 number_columns: 4 single_quotes: false column_names: ["treatment","outcome","counts","offset"] column_types: ["Enum","Enum","Numeric","Numeric"] delete_on_done: true check_header: 1 chunk_size: 4194304 Run - buildModel 'glm', {"model_id":"glm-7f9b5290-37c5-46fc-9cae-6b114ddb50a2","training_frame":"Key_Frame__hdf_2.hex","ignore_const_cols":true,"response_column":"counts","offset_column":"offset","family":"poisson","solver":"IRLSM","alpha":[1],"lambda":[],"lambda_search":true,"nlambdas":-1,"standardize":true,"non_negative":false,"score_each_iteration":false,"max_iterations":-1,"link":"family_default","objective_epsilon":0.00001,"beta_epsilon":0.0001,"gradient_epsilon":0.0001,"prior":-1,"lambda_min_ratio":-1,"max_active_predictors":-1} Get - Got exception 'class java.lang.AssertionError', with msg 'null' java.lang.AssertionError at hex.glm.GLM$GLMSingleLambdaTsk.compute2(GLM.java:1071) at water.H2O$H2OCountedCompleter.compute(H2O.java:666) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:914) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:979) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

    JIRA | 2 years ago | Nidhi Mehta
    java.lang.AssertionError
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      newLambda = NaN, last lambda = NaN

      at hex.glm.GLM$GLMTaskInfo.adjustToNewLambda()
    2. hex.glm
      GLM$GLMSingleLambdaTsk.compute2
      1. hex.glm.GLM$GLMTaskInfo.adjustToNewLambda(GLM.java:818)
      2. hex.glm.GLM$GLMSingleLambdaTsk.compute2(GLM.java:1880)
      2 frames
    3. water
      H2O$H2OCountedCompleter.compute1
      1. water.H2O$H2OCountedCompleter.compute1(H2O.java:1076)
      1 frame
    4. hex.glm
      GLM$GLMSingleLambdaTsk$Icer.compute1
      1. hex.glm.GLM$GLMSingleLambdaTsk$Icer.compute1(GLM$GLMSingleLambdaTsk$Icer.java)
      1 frame
    5. water
      H2O$H2OCountedCompleter.compute
      1. water.H2O$H2OCountedCompleter.compute(H2O.java:1072)
      1 frame
    6. jsr166y
      ForkJoinWorkerThread.run
      1. jsr166y.CountedCompleter.exec(CountedCompleter.java:468)
      2. jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)
      3. jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)
      4. jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)
      5. jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
      5 frames