java.lang.AssertionError: invalid gradient/direction, got positive differential 0.0010490659578066802


Solutions on the web

Solution icon of web
via JIRA by Tomas Nykodym, 1 year ago
invalid gradient/direction, got positive differential 0.0010490659578066802

Solution icon of web
via JIRA by Nidhi Mehta, 10 months ago
invalid gradient/direction, got positive differential 0.028143596300444426

Stack trace

java.lang.AssertionError: invalid gradient/direction, got positive differential 0.0010490659578066802
	at hex.optimization.OptimizationUtils$MoreThuente.evaluate(OptimizationUtils.java:334)
	at hex.glm.GLM$GLMDriver.fitIRLSM_multinomial(GLM.java:606)
	at hex.glm.GLM$GLMDriver.fitModel(GLM.java:907)
	at hex.glm.GLM$GLMDriver.computeSubmodel(GLM.java:980)
	at hex.glm.GLM$GLMDriver.computeImpl(GLM.java:1042)
	at hex.ModelBuilder$Driver.compute2(ModelBuilder.java:169)
	at hex.glm.GLM$GLMDriver.compute2(GLM.java:515)
	at water.H2O$H2OCountedCompleter.compute(H2O.java:1198)
	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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.