java.lang.UnsupportedOperationException: Trying to predict with an unstable model. Job was aborted due to observed numerical instability (exponential growth). Either the weights or the bias values are unreasonably large or lead to large activation values. Try a different initial distribution, a bounded activation function (Tanh), adding regularization (via max_w2, l1, l2, dropout) or learning rate (either enable adaptive_rate or use a smaller learning rate or faster annealing). For more information visit: http://jira.h2o.ai/browse/TN-4

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Arno Candel, 1 year ago
distribution, a bounded activation function (Tanh), adding regularization (via max_w2, l1, l2, dropout) or learning rate (either enable adaptive_rate or use a smaller learning rate or faster annealing). For more information visit: http://jira.h2o.ai/browse/TN-4
via Google Groups by Unknown author, 5 months ago
Trying to predict with an unstable model. >> >>> >> >>>>> >> >>> >> >>>>>>> >> >>> >> >>>>> >> >>> >>
via Google Groups by Unknown author, 5 months ago
Trying to predict with an unstable model.
java.lang.UnsupportedOperationException: Trying to predict with an unstable model. Job was aborted due to observed numerical instability (exponential growth). Either the weights or the bias values are unreasonably large or lead to large activation values. Try a different initial distribution, a bounded activation function (Tanh), adding regularization (via max_w2, l1, l2, dropout) or learning rate (either enable adaptive_rate or use a smaller learning rate or faster annealing). For more information visit: http://jira.h2o.ai/browse/TN-4
at hex.deeplearning.DeepLearningModel.score0(DeepLearningModel.java:831)
at hex.Model.score0(Model.java:852)
at hex.Model$BigScore.map(Model.java:820)
at water.MRTask.compute2(MRTask.java:678)
at water.H2O$H2OCountedCompleter.compute1(H2O.java:1060)
at hex.Model$BigScore$Icer.compute1(Model$BigScore$Icer.java)
at water.H2O$H2OCountedCompleter.compute(H2O.java:1056)
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)

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.

Know the solutions? Share your knowledge to help other developers to debug faster.