From 30822ed131a836b05e87265a86df48b109c1dcea Mon Sep 17 00:00:00 2001 From: Mohammad Bani Hani <62829419+mobaniha@users.noreply.github.com> Date: Tue, 22 Feb 2022 21:55:33 +0200 Subject: [PATCH] use compute_name variable for compute target --- .../datadrift-tutorial/datadrift-tutorial.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/how-to-use-azureml/work-with-data/datadrift-tutorial/datadrift-tutorial.ipynb b/how-to-use-azureml/work-with-data/datadrift-tutorial/datadrift-tutorial.ipynb index b848d08d7..647a4f5c1 100644 --- a/how-to-use-azureml/work-with-data/datadrift-tutorial/datadrift-tutorial.ipynb +++ b/how-to-use-azureml/work-with-data/datadrift-tutorial/datadrift-tutorial.ipynb @@ -220,7 +220,7 @@ "alert_config = AlertConfiguration(['user@contoso.com']) # replace with your email to recieve alerts from the scheduled pipeline after enabling\n", "\n", "monitor = DataDriftDetector.create_from_datasets(ws, 'weather-monitor', baseline, target, \n", - " compute_target='cpu-cluster', # compute target for scheduled pipeline and backfills \n", + " compute_target=compute_name, # compute target for scheduled pipeline and backfills \n", " frequency='Week', # how often to analyze target data\n", " feature_list=None, # list of features to detect drift on\n", " drift_threshold=None, # threshold from 0 to 1 for email alerting\n", @@ -463,4 +463,4 @@ }, "nbformat": 4, "nbformat_minor": 4 -} \ No newline at end of file +}