Initialization of H2OSingularValueDecompositionEstimator throws H2OResponseError

Description

---------------------------------------------------------------------------
H2OResponseError Traceback (most recent call last)
<ipython-input-5-9a555f35eb9c> in <module>()
11 from h2o.estimators import H2OSingularValueDecompositionEstimator
12 fitH2O = H2OSingularValueDecompositionEstimator(nv=4, transform="NONE", max_iterations=2000)
---> 13 fitH2O.train(x=list(range(4)), training_frame=arrestsH2O)

/usr/local/lib/python3.4/dist-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)
222 rest_ver = parms.pop("_rest_version") if "_rest_version" in parms else 3
223
--> 224 model_builder_json = h2o.api("POST /%d/ModelBuilders/%s" % (rest_ver, self.algo), data=parms)
225 model = H2OJob(model_builder_json, job_type=(self.algo + " Model Build"))
226

/usr/local/lib/python3.4/dist-packages/h2o/h2o.py in api(endpoint, data, json, filename, save_to)
101 # type checks are performed in H2OConnection class
102 _check_connection()
--> 103 return h2oconn.request(endpoint, data=data, json=json, filename=filename, save_to=save_to)
104
105

/usr/local/lib/python3.4/dist-packages/h2o/backend/connection.py in request(self, endpoint, data, json, filename, save_to)
400 auth=self._auth, verify=self._verify_ssl_cert, proxies=self._proxies)
401 self._log_end_transaction(start_time, resp)
--> 402 return self._process_response(resp, save_to)
403
404 except (requests.exceptions.ConnectionError, requests.exceptions.HTTPError) as e:

/usr/local/lib/python3.4/dist-packages/h2o/backend/connection.py in _process_response(response, save_to)
723 # Client errors (400 = "Bad Request", 404 = "Not Found", 412 = "Precondition Failed")
724 if status_code in {400, 404, 412} and isinstance(data, (H2OErrorV3, H2OModelBuilderErrorV3)):
--> 725 raise H2OResponseError(data)
726
727 # Server errors (notably 500 = "Server Error")

H2OResponseError: Server error water.exceptions.H2ONotFoundArgumentException:
Error: POST /3/ModelBuilders/svd not found
Request: POST /3/ModelBuilders/svd
data: {'training_frame': 'Key_Frame__upload_8bbb0f4b8f6a50b7a328c98fed4e400d.hex', 'nv': '4', 'max_iterations': '2000', 'transform': 'NONE'}

Assignee

Veronika Maurerová

Fix versions

Reporter

Veronika Maurerová

Support ticket URL

None

Affected Spark version

None

Customer Request Type

None

Task progress

None

CustomerVisible

No

Priority

Major
Configure