Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

glm_h2oworld_demo error #104

Open
raheems opened this issue Feb 25, 2019 · 0 comments
Open

glm_h2oworld_demo error #104

raheems opened this issue Feb 25, 2019 · 0 comments

Comments

@raheems
Copy link

raheems commented Feb 25, 2019

In the above tutorial, when we get to this point
glm_binom_v1.train(covtype_X, covtype_y, training_frame=train_b, validation_frame=valid_b), we get the following error

---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-80-629452a19acf> in <module>()
----> 1 glm_binom_v1.train(covtype_X, covtype_y, training_frame=train_b, validation_frame=valid_b)

C:\Users\srahee01\AppData\Local\Continuum\anaconda3\lib\site-packages\h2o\estimators\estimator_base.py in train(self, x, y, training_frame, offset_column, fold_column, weights_column, validation_frame, max_runtime_secs, ignored_columns, model_id, verbose)
    235             return
    236 
--> 237         model.poll(verbose_model_scoring_history=verbose)
    238         model_json = h2o.api("GET /%d/Models/%s" % (rest_ver, model.dest_key))["models"][0]
    239         self._resolve_model(model.dest_key, model_json)

C:\Users\srahee01\AppData\Local\Continuum\anaconda3\lib\site-packages\h2o\job.py in poll(self, verbose_model_scoring_history)
     75             if (isinstance(self.job, dict)) and ("stacktrace" in list(self.job)):
     76                 raise EnvironmentError("Job with key {} failed with an exception: {}\nstacktrace: "
---> 77                                        "\n{}".format(self.job_key, self.exception, self.job["stacktrace"]))
     78             else:
     79                 raise EnvironmentError("Job with key %s failed with an exception: %s" % (self.job_key, self.exception))

OSError: Job with key $03017f00000132d4ffffffff$_9865f9eac98add358d8c3e0068c24322 failed with an exception: java.lang.AssertionError: x out of bounds, expected <0,1> range, got NaN
stacktrace: 
java.lang.AssertionError: x out of bounds, expected <0,1> range, got NaN
	at hex.glm.GLMModel$GLMWeightsFun.link(GLMModel.java:547)
	at hex.glm.GLM.getNullBeta(GLM.java:358)
	at hex.glm.GLM.init(GLM.java:504)
	at hex.glm.GLM$GLMDriver.computeImpl(GLM.java:1200)
	at hex.ModelBuilder$Driver.compute2(ModelBuilder.java:218)
	at hex.glm.GLM$GLMDriver.compute2(GLM.java:571)
	at water.H2O$H2OCountedCompleter.compute(H2O.java:1395)
	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)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant