Skip to content

Commit

Permalink
Update mlflow/sklearn/__init__.py
Browse files Browse the repository at this point in the history
remove additional lines

Signed-off-by: Junwen Yao <jwyiao@gmail.com>
  • Loading branch information
jwyyy committed Nov 23, 2021
1 parent 44f7f87 commit 6bc2a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlflow/sklearn/__init__.py
Expand Up @@ -1481,7 +1481,7 @@ def patched_predict(original, self, *args, **kwargs):
return original(self, *args, **kwargs)

def patched_metric_api(original, *args, **kwargs):
print("running...")

if _AUTOLOGGING_METRICS_MANAGER.should_log_post_training_metrics():
# one metric api may call another metric api,
# to avoid this, call disable_log_post_training_metrics to avoid nested patch
Expand Down

0 comments on commit 6bc2a8e

Please sign in to comment.