Skip to content

Commit 3382e5f

Browse files
authored
Update how-to-monitor-datasets.md
1 parent 0b23009 commit 3382e5f

File tree

1 file changed

+22
-15
lines changed

1 file changed

+22
-15
lines changed

articles/machine-learning/v1/how-to-monitor-datasets.md

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ To create and work with dataset monitors, you need:
5555
### Migrate to Model Monitor
5656
When you migrate to Model Monitor, please check the prerequisites as following:
5757

58-
# [Azure CLI](#tab/azure-cli)
59-
60-
[!INCLUDE [basic prereqs cli](../includes/machine-learning-cli-prereqs.md)]
6158

6259
# [Python SDK](#tab/python)
6360

@@ -87,6 +84,10 @@ Before following the steps in this article, make sure you have the following pre
8784
* Update the registered data asset continuously for model monitoring.
8885
* (Recommended) Register the model in an Azure Machine Learning workspace, for lineage tracking.
8986

87+
# [Azure CLI](#tab/azure-cli)
88+
89+
[!INCLUDE [basic prereqs cli](../includes/machine-learning-cli-prereqs.md)]
90+
9091
> [!IMPORTANT]
9192
>
9293
> Model monitoring jobs are scheduled to run on serverless Spark compute pools with support for the following VM instance types: `Standard_E4s_v3`, `Standard_E8s_v3`, `Standard_E16s_v3`, `Standard_E32s_v3`, and `Standard_E64s_v3`. You can select the VM instance type with the `create_monitor.compute.instance_type` property in your YAML configuration or from the dropdown in the Azure Machine Learning studio.
@@ -208,8 +209,13 @@ If your data is already partitioned by date or time, as is the case here, you ca
208209

209210
:::image type="content" source="media/how-to-monitor-datasets/timeseries-partitiontimestamp.png" alt-text="Partition timestamp":::
210211

212+
213+
# [Azure CLI](#tab/azure-cli)
214+
215+
Not supported.
211216
---
212217

218+
213219
## Create dataset monitor
214220

215221
Create a dataset monitor to detect and alert to data drift on a new dataset. Use either the [Python SDK](#sdk-monitor) or [Azure Machine Learning studio](#studio-monitor).
@@ -313,6 +319,8 @@ monitor = monitor.enable_schedule()
313319

314320
After completion of the wizard, the resulting dataset monitor will appear in the list. Select it to go to that monitor's details page.
315321

322+
# [Azure CLI](#tab/azure-cli)
323+
Not supported
316324
---
317325

318326
### Migrate to Model Monitor
@@ -326,18 +334,6 @@ Following sections contain more details on how to migrate to Model Monitor.
326334

327335
If you have deployed your model to production in an Azure Machine Learning online endpoint and enabled [data collection](../how-to-collect-production-data.md) at deployment time.
328336

329-
# [Azure CLI](#tab/azure-cli)
330-
331-
Azure Machine Learning model monitoring uses `az ml schedule` to schedule a monitoring job. You can create the out-of-box model monitor with the following CLI command and YAML definition:
332-
333-
```azurecli
334-
az ml schedule create -f ./out-of-box-monitoring.yaml
335-
```
336-
337-
The following YAML contains the definition for the out-of-box model monitoring.
338-
339-
:::code language="yaml" source="~/azureml-examples-main/cli/monitoring/out-of-box-monitoring.yaml":::
340-
341337
# [Python SDK](#tab/python)
342338

343339
You can use the following code to set up the out-of-box model monitoring:
@@ -431,7 +427,18 @@ created_monitor = poller.result()
431427
1. Select **Next** to go to the **Select monitoring signals** page.
432428
1. Select **Next** to go to the **Notifications** page. Add your email to receive email notifications.
433429
1. Review your monitoring details and select **Create** to create the monitor.
430+
# [Azure CLI](#tab/azure-cli)
431+
432+
Azure Machine Learning model monitoring uses `az ml schedule` to schedule a monitoring job. You can create the out-of-box model monitor with the following CLI command and YAML definition:
434433

434+
```azurecli
435+
az ml schedule create -f ./out-of-box-monitoring.yaml
436+
```
437+
438+
The following YAML contains the definition for the out-of-box model monitoring.
439+
440+
:::code language="yaml" source="~/azureml-examples-main/cli/monitoring/out-of-box-monitoring.yaml":::
441+
---
435442

436443
### If you didn't deploy your model to production in an Azure Machine Learning online endpoint or you don't want to use data collection
437444
When you migrate to Model Monitor, if you didn't deploy your model to production in an Azure Machine Learning online endpoint, or you don't want to use [data collection](../how-to-collect-production-data.md), you can also [set up model monitoring with custom signals and metrics](../how-to-monitor-model-performance.md#set-up-model-monitoring-with-custom-signals-and-metrics).

0 commit comments

Comments
 (0)