java.lang.AssertionError: objvals from line-search and gradient tasks differ, 0.6670861437437924 != 0.6670984136694696

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • R Repro: pros.hex <- h2o.uploadFile(conn, locate("smalldata/prostate/prostate.csv.zip")) pros.hex[,2] <- as.factor(pros.hex[,2]) pros.hex[,4] <- as.factor(pros.hex[,4]) pros.hex[,5] <- as.factor(pros.hex[,5]) pros.hex[,6] <- as.factor(pros.hex[,6]) pros.hex[,9] <- as.factor(pros.hex[,9]) p.sid <- h2o.runif(pros.hex) pros.train <- h2o.assign(pros.hex[p.sid > .2, ], "pros.train") pros.test <- h2o.assign(pros.hex[p.sid <= .2, ], "pros.test") h2o.glm(x = 3:9, y = 2, training_frame = pros.train, family = "binomial", solver = "L_BFGS", alpha = 0.5, lambda_search = TRUE) stacktrace: t exception 'class java.lang.AssertionError', with msg 'objvals from line-search and gradient tasks differ, 0.6670861437437924 != 0.6670984136694696' java.lang.AssertionError: objvals from line-search and gradient tasks differ, 0.6670861437437924 != 0.6670984136694696 at hex.optimization.L_BFGS.solve(L_BFGS.java:278) at hex.glm.GLM$LBFGS_ProximalSolver.solve(GLM.java:1422) at hex.optimization.ADMM$L1Solver.solve(ADMM.java:85) at hex.optimization.ADMM$L1Solver.solve(ADMM.java:37) at hex.glm.GLM$GLMSingleLambdaTsk.solve(GLM.java:837) at hex.glm.GLM$GLMSingleLambdaTsk.compute2(GLM.java:1030) 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.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)
    via by Sebastian Vidrio,
  • R Repro: pros.hex <- h2o.uploadFile(conn, locate("smalldata/prostate/prostate.csv.zip")) pros.hex[,2] <- as.factor(pros.hex[,2]) pros.hex[,4] <- as.factor(pros.hex[,4]) pros.hex[,5] <- as.factor(pros.hex[,5]) pros.hex[,6] <- as.factor(pros.hex[,6]) pros.hex[,9] <- as.factor(pros.hex[,9]) p.sid <- h2o.runif(pros.hex) pros.train <- h2o.assign(pros.hex[p.sid > .2, ], "pros.train") pros.test <- h2o.assign(pros.hex[p.sid <= .2, ], "pros.test") h2o.glm(x = 3:9, y = 2, training_frame = pros.train, family = "binomial", solver = "L_BFGS", alpha = 0.5, lambda_search = TRUE) stacktrace: t exception 'class java.lang.AssertionError', with msg 'objvals from line-search and gradient tasks differ, 0.6670861437437924 != 0.6670984136694696' java.lang.AssertionError: objvals from line-search and gradient tasks differ, 0.6670861437437924 != 0.6670984136694696 at hex.optimization.L_BFGS.solve(L_BFGS.java:278) at hex.glm.GLM$LBFGS_ProximalSolver.solve(GLM.java:1422) at hex.optimization.ADMM$L1Solver.solve(ADMM.java:85) at hex.optimization.ADMM$L1Solver.solve(ADMM.java:37) at hex.glm.GLM$GLMSingleLambdaTsk.solve(GLM.java:837) at hex.glm.GLM$GLMSingleLambdaTsk.compute2(GLM.java:1030) 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.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)
    via by Sebastian Vidrio,
    • java.lang.AssertionError: objvals from line-search and gradient tasks differ, 0.6670861437437924 != 0.6670984136694696 at hex.optimization.L_BFGS.solve(L_BFGS.java:278) at hex.glm.GLM$LBFGS_ProximalSolver.solve(GLM.java:1422) at hex.optimization.ADMM$L1Solver.solve(ADMM.java:85) at hex.optimization.ADMM$L1Solver.solve(ADMM.java:37) at hex.glm.GLM$GLMSingleLambdaTsk.solve(GLM.java:837) at hex.glm.GLM$GLMSingleLambdaTsk.compute2(GLM.java:1030) 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.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)
    No Bugmate found.