Skip to content

Commit 669d3fc

Browse files
author
Louis Pouillot
committed
remove param wait_guess_complete
1 parent 1fab73f commit 669d3fc

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

dataikuapi/dss/ml.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -922,15 +922,10 @@ def redeploy_to_flow(self, model_id, recipe_name=None, saved_model_id=None, acti
922922
body = obj)
923923

924924
def start_guess(self,
925-
prediction_type=None,
926-
wait_guess_complete=False):
925+
prediction_type=None):
927926
"""
928927
Guess the feature handling and the algorithms.
929928
:param string prediction_type: In case of a prediction problem the prediction type can be specify. Valid values are BINARY_CLASSIFICATION, REGRESSION, MULTICLASS.
930-
:param boolean wait_guess_complete: if False, the returned ML task will be in 'guessing' state.
931-
You should wait for the guessing to be completed by calling
932-
``wait_guess_complete`` on the returned object before doing anything
933-
else (in particular calling ``train`` or ``get_settings``)
934929
:return:
935930
"""
936931
obj = {}
@@ -941,5 +936,3 @@ def start_guess(self,
941936
"/projects/%s/models/lab/%s/%s/guess" % (self.project_key, self.analysis_id, self.mltask_id),
942937
params=obj)
943938

944-
if wait_guess_complete:
945-
self.wait_guess_complete()

0 commit comments

Comments
 (0)