From c5443b3b868c981f87c9811d68370069f99fa2eb Mon Sep 17 00:00:00 2001
From: daniels290813 <78727943+daniels290813@users.noreply.github.com>
Date: Sun, 15 Dec 2024 13:11:35 +0200
Subject: [PATCH] model monitoring new api

project.set_model_monitoring_credentials(None, "v3io", "v3io", "v3io")
to
project.set_model_monitoring_credentials(None, "v3io", "v3io")
---
 src/train_workflow.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/train_workflow.py b/src/train_workflow.py
index 496f294..10e8d09 100644
--- a/src/train_workflow.py
+++ b/src/train_workflow.py
@@ -132,7 +132,7 @@ def pipeline(vector_name="transactions-fraud", features=[], label_column="is_err
     )
     # Enable model monitoring. Uncomment 2 lines below if needed 
     serving_func.set_tracking()
-    project.set_model_monitoring_credentials(None, "v3io", "v3io", "v3io")
+    project.set_model_monitoring_credentials(None, "v3io", "v3io")
     serving_func.save()
     # deploy the model server, pass a list of trained models to serve
     deploy = project.deploy_function(