java.lang.AssertionError: expected likelihood = Infinity, got Infinity

JIRA | Sebastian Vidrio | 2 years ago
  1. 0

    Dataset: cars.hex <- h2o.uploadFile(conn, locate("smalldata/junit/cars.csv")) cars.hex[,3] <- as.factor(cars.hex[,3]) c.sid <- h2o.runif(cars.hex) cars.train <- h2o.assign(cars.hex[c.sid > .2, ], "cars.train") cars.test <- h2o.assign(cars.hex[c.sid <= .2, ], "cars.test") Params: [2015-05-07 13:51:55] [INFO]: x: 3, 4, 6, 7 [2015-05-07 13:51:55] [INFO]: y: 2 [2015-05-07 13:51:55] [INFO]: Using training_frame: cars.train [2015-05-07 13:51:55] [INFO]: family: gaussian [2015-05-07 13:51:55] [INFO]: max iterations: DEFAULT [2015-05-07 13:51:55] [INFO]: beta epsilon: 0.344602103345096 [2015-05-07 13:51:55] [INFO]: solver: DEFAULT [2015-05-07 13:51:55] [INFO]: standardize: DEFAULT [2015-05-07 13:51:55] [INFO]: link: log [2015-05-07 13:51:55] [INFO]: alpha: DEFAULT [2015-05-07 13:51:55] [INFO]: prior: DEFAULT [2015-05-07 13:51:55] [INFO]: lambda search: DEFAULT [2015-05-07 13:51:55] [INFO]: nlambdas: 8 [2015-05-07 13:51:56] [INFO]: beta constraints: names lower_bounds upper_bounds 1 cylinders.4 -0.1497252 -0.05797257 2 cylinders.5 0.8305270 1.58318724 3 cylinders.6 0.5689257 1.34525551 4 cylinders.8 0.9579384 1.21594221 5 displacement (cc) 0.7442328 0.81392186 6 weight (lb) -0.2130352 0.77706538 7 0-60 mph (s) -0.6338105 -0.19275339 stacktrace: Got exception 'class java.lang.AssertionError', with msg 'expected likelihood = 6.471551998897779E163, got 6.471551998897411E163' java.lang.AssertionError: expected likelihood = 6.471551998897779E163, got 6.471551998897411E163 at hex.glm.GLM$GLMSingleLambdaTsk$LineSearchIteration.callback(GLM.java:1208) at hex.glm.GLM$GLMSingleLambdaTsk$LineSearchIteration.callback(GLM.java:1198) at water.H2O$H2OCallback.onCompletion(H2O.java:740) at jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386) at water.MRTask.compute2(MRTask.java:439) at water.H2O$H2OCountedCompleter.compute(H2O.java:682) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) 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)

    JIRA | 2 years ago | Sebastian Vidrio
    java.lang.AssertionError: expected likelihood = 6.471551998897779E163, got 6.471551998897411E163
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Dataset: cars.hex <- h2o.uploadFile(conn, locate("smalldata/junit/cars.csv")) cars.hex[,3] <- as.factor(cars.hex[,3]) c.sid <- h2o.runif(cars.hex) cars.train <- h2o.assign(cars.hex[c.sid > .2, ], "cars.train") cars.test <- h2o.assign(cars.hex[c.sid <= .2, ], "cars.test") Params: [2015-05-07 13:51:55] [INFO]: x: 3, 4, 6, 7 [2015-05-07 13:51:55] [INFO]: y: 2 [2015-05-07 13:51:55] [INFO]: Using training_frame: cars.train [2015-05-07 13:51:55] [INFO]: family: gaussian [2015-05-07 13:51:55] [INFO]: max iterations: DEFAULT [2015-05-07 13:51:55] [INFO]: beta epsilon: 0.344602103345096 [2015-05-07 13:51:55] [INFO]: solver: DEFAULT [2015-05-07 13:51:55] [INFO]: standardize: DEFAULT [2015-05-07 13:51:55] [INFO]: link: log [2015-05-07 13:51:55] [INFO]: alpha: DEFAULT [2015-05-07 13:51:55] [INFO]: prior: DEFAULT [2015-05-07 13:51:55] [INFO]: lambda search: DEFAULT [2015-05-07 13:51:55] [INFO]: nlambdas: 8 [2015-05-07 13:51:56] [INFO]: beta constraints: names lower_bounds upper_bounds 1 cylinders.4 -0.1497252 -0.05797257 2 cylinders.5 0.8305270 1.58318724 3 cylinders.6 0.5689257 1.34525551 4 cylinders.8 0.9579384 1.21594221 5 displacement (cc) 0.7442328 0.81392186 6 weight (lb) -0.2130352 0.77706538 7 0-60 mph (s) -0.6338105 -0.19275339 stacktrace: Got exception 'class java.lang.AssertionError', with msg 'expected likelihood = 6.471551998897779E163, got 6.471551998897411E163' java.lang.AssertionError: expected likelihood = 6.471551998897779E163, got 6.471551998897411E163 at hex.glm.GLM$GLMSingleLambdaTsk$LineSearchIteration.callback(GLM.java:1208) at hex.glm.GLM$GLMSingleLambdaTsk$LineSearchIteration.callback(GLM.java:1198) at water.H2O$H2OCallback.onCompletion(H2O.java:740) at jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386) at water.MRTask.compute2(MRTask.java:439) at water.H2O$H2OCountedCompleter.compute(H2O.java:682) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) 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)

    JIRA | 2 years ago | Sebastian Vidrio
    java.lang.AssertionError: expected likelihood = 6.471551998897779E163, got 6.471551998897411E163
  4. 0

    IsCloseTo doesn't work with infinity

    GitHub | 7 months ago | xavierbeynon
    java.lang.AssertionError: Expected: a numeric value within <0.0> of <Infinity> but: <Infinity> differed by <NaN>

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AssertionError

      expected likelihood = Infinity, got Infinity

      at hex.glm.GLM$GLMSingleLambdaTsk$LineSearchIteration.callback()
    2. hex.glm
      GLM$GLMSingleLambdaTsk$LineSearchIteration.callback
      1. hex.glm.GLM$GLMSingleLambdaTsk$LineSearchIteration.callback(GLM.java:1248)
      2. hex.glm.GLM$GLMSingleLambdaTsk$LineSearchIteration.callback(GLM.java:1238)
      2 frames
    3. water
      H2O$H2OCallback.onCompletion
      1. water.H2O$H2OCallback.onCompletion(H2O.java:753)
      1 frame
    4. jsr166y
      CountedCompleter.tryComplete
      1. jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386)
      1 frame
    5. water
      H2O$H2OCountedCompleter.compute
      1. water.RPC$2.compute2(RPC.java:593)
      2. water.H2O$H2OCountedCompleter.compute(H2O.java:695)
      2 frames
    6. jsr166y
      ForkJoinWorkerThread.run
      1. jsr166y.CountedCompleter.exec(CountedCompleter.java:429)
      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