Skip to content

Commit ca03f21

Browse files
authored
Formatting
1 parent dd84294 commit ca03f21

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

dataikuapi/dss/ml.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -921,18 +921,17 @@ def redeploy_to_flow(self, model_id, recipe_name=None, saved_model_id=None, acti
921921
"POST", "/projects/%s/models/lab/%s/%s/models/%s/actions/redeployToFlow" % (self.project_key, self.analysis_id, self.mltask_id, model_id),
922922
body = obj)
923923

924-
def guess(self,
925-
prediction_type=None):
924+
def guess(self, prediction_type=None):
926925
"""
927926
Guess the feature handling and the algorithms.
928927
:param string prediction_type: In case of a prediction problem the prediction type can be specify. Valid values are BINARY_CLASSIFICATION, REGRESSION, MULTICLASS.
929-
:return:
930928
"""
931929
obj = {}
932930
if prediction_type is not None:
933931
obj["predictionType"] = prediction_type
934932

935-
self.client._perform_empty("PUT",
936-
"/projects/%s/models/lab/%s/%s/guess" % (self.project_key, self.analysis_id, self.mltask_id),
937-
params=obj)
933+
self.client._perform_empty(
934+
"PUT",
935+
"/projects/%s/models/lab/%s/%s/guess" % (self.project_key, self.analysis_id, self.mltask_id),
936+
params = obj)
938937

0 commit comments

Comments
 (0)