DRF error

25 views
Skip to first unread message

VC Ramesh

unread,
Mar 8, 2015, 7:41:08 AM3/8/15
to h2os...@googlegroups.com
I am getting this error when running DRF for a regression problem. Most of the parameters are default values. I started the H2O cluster (localhost:54321) in R, but most of the interaction is through the web interface. I have a single CPU with 4 cores (so it is not really distributed). I will go into details of the data if needed, but it is a relatively simple dataset with only a few predictor variables -- all are real values.  Thanks.

Got exception 'class java.lang.AssertionError', with msg 'null'
java.lang.AssertionError
	at hex.gbm.DRealHistogram.scoreMSE(DRealHistogram.java:106)
	at hex.drf.DRF$DRFDecidedNode.bestCol(DRF.java:650)
	at hex.gbm.DTree$DecidedNode.(DTree.java:386)
	at hex.drf.DRF$DRFDecidedNode.(DRF.java:639)
	at hex.drf.DRF.makeDecided(DRF.java:632)
	at hex.gbm.SharedTreeModelBuilder$ScoreBuildOneTree.onCompletion(SharedTreeModelBuilder.java:691)
	at jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386)
	at water.MRTask2.compute2(MRTask2.java:426)
	at water.H2O$H2OCountedCompleter.compute(H2O.java:655)
	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)

cli...@0xdata.com

unread,
Mar 8, 2015, 3:38:20 PM3/8/15
to h2os...@googlegroups.com
This is a narrow edge-case assertion, typically related to a few-ULPs roundoff error. 
Turning it off won't significantly affect results.
Can you share the dataset?  I'd love to add a test case which triggers this assert.
To turn off the assert (and all asserts), remove the "-ea" flag from the JVM launch.

Cliff

ccl...@gmail.com

unread,
Mar 9, 2015, 1:04:45 PM3/9/15
to h2os...@googlegroups.com
Try "h2o.init(assertion=F)" or
starting the JVM by hand (instead of having h2o.init kick one off), and h2o.init will find it.

Cliff
Reply all
Reply to author
Forward
0 new messages