H2O is an Open Source, Distributed, Fast & Scalable Machine Learning Platform: Deep Learning, Gradient Boosting (GBM) & XGBoost, Random Forest, Generalized Linear Modeling (GLM with Elastic Net), K-Means, PCA, Generalized Additive Models (GAM), RuleFit, Support Vector Machine (SVM), Stacked Ensembles, Automatic Machine Learning (AutoML), etc.
For Gridsearch test, alpha value was set to be greater than 1. The Java correctly print the error message:
03-16 19:08:13.542 192.168.86.100:54321 1114 FJ-1-3 WARN: ERRR on field: _alpha: Alpha value must be between 0 and 1
However, the pyunit test shows a completely different error:
Traceback (most recent call last):
File "/Users/wendycwong/h2o-3/h2o-py/tests/testdir_dynamic_tests/testdir_algos/glm/pyunit_glm_gridsearch_over_all_params.py", line 402, in
pyunit_utils.standalone_test(test_grid_search_for_glm_over_all_params)
File "../../../../tests/pyunit_utils/utilsPY.py", line 381, in standalone_test
test()
File "/Users/wendycwong/h2o-3/h2o-py/tests/testdir_dynamic_tests/testdir_algos/glm/pyunit_glm_gridsearch_over_all_params.py", line 392, in test_grid_search_for_glm_over_all_params
test_glm_grid.test1_glm_grid_search_over_params()
File "/Users/wendycwong/h2o-3/h2o-py/tests/testdir_dynamic_tests/testdir_algos/glm/pyunit_glm_gridsearch_over_all_params.py", line 296, in test1_glm_grid_search_over_params
grid_model.train(x=self.x_indices, y=self.y_index, training_frame=self.training1_data)
File "../../../../h2o/grid/grid_search.py", line 169, in train
self.build_model(parms)
File "../../../../h2o/grid/grid_search.py", line 182, in build_model
self._model_build(x, y, training_frame, validation_frame, algo_params)
File "../../../../h2o/grid/grid_search.py", line 214, in _model_build
first_model_json = H2OConnection.get_json("Models/"+grid_json['model_ids'][0]['name'], _rest_version=kwargs['_rest_version'])['models'][0]
IndexError: list index out of range
Please fix the python side so that the correct Java message is passed over to the python unit test.
For Gridsearch test, alpha value was set to be greater than 1. The Java correctly print the error message:
03-16 19:08:13.542 192.168.86.100:54321 1114 FJ-1-3 WARN: ERRR on field: _alpha: Alpha value must be between 0 and 1
However, the pyunit test shows a completely different error:
Traceback (most recent call last): File "/Users/wendycwong/h2o-3/h2o-py/tests/testdir_dynamic_tests/testdir_algos/glm/pyunit_glm_gridsearch_over_all_params.py", line 402, in
pyunit_utils.standalone_test(test_grid_search_for_glm_over_all_params)
File "../../../../tests/pyunit_utils/utilsPY.py", line 381, in standalone_test
test()
File "/Users/wendycwong/h2o-3/h2o-py/tests/testdir_dynamic_tests/testdir_algos/glm/pyunit_glm_gridsearch_over_all_params.py", line 392, in test_grid_search_for_glm_over_all_params
test_glm_grid.test1_glm_grid_search_over_params()
File "/Users/wendycwong/h2o-3/h2o-py/tests/testdir_dynamic_tests/testdir_algos/glm/pyunit_glm_gridsearch_over_all_params.py", line 296, in test1_glm_grid_search_over_params
grid_model.train(x=self.x_indices, y=self.y_index, training_frame=self.training1_data)
File "../../../../h2o/grid/grid_search.py", line 169, in train
self.build_model(parms)
File "../../../../h2o/grid/grid_search.py", line 182, in build_model
self._model_build(x, y, training_frame, validation_frame, algo_params)
File "../../../../h2o/grid/grid_search.py", line 214, in _model_build
first_model_json = H2OConnection.get_json("Models/"+grid_json['model_ids'][0]['name'], _rest_version=kwargs['_rest_version'])['models'][0]
IndexError: list index out of range
Please fix the python side so that the correct Java message is passed over to the python unit test.