update samples from Release-38 as a part of SDK release

This commit is contained in:
vizhur
2020-02-11 20:00:16 +00:00
parent a09a1a16a7
commit ed91e39d7e
80 changed files with 4469 additions and 102 deletions

View File

@@ -300,28 +300,6 @@
"backfill"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Enable the monitor's pipeline schedule\n",
"\n",
"Turn on a scheduled pipeline which will anlayze the target dataset for drift every `frequency`. Use the latency parameter to adjust the start time of the pipeline. For instance, if it takes 24 hours for my data processing pipelines for data to arrive in the target dataset, set latency to 24. "
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# enable the pipeline schedule and recieve email alerts\n",
"monitor.enable_schedule()\n",
"\n",
"# disable the pipeline schedule \n",
"#monitor.disable_schedule()"
]
},
{
"cell_type": "markdown",
"metadata": {},
@@ -338,8 +316,7 @@
"outputs": [],
"source": [
"# make sure the backfill has completed\n",
"import time\n",
"time.sleep(1200)"
"backfill.wait_for_completion(wait_post_processing=True)"
]
},
{
@@ -366,9 +343,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## See results in Azure Machine Learning studio (Enterprise only)\n",
"## Enable the monitor's pipeline schedule\n",
"\n",
"The below cell will print a link to the monitor in the Azure Machine Learning studio, where the results can be viewed. Alertnatively, use the `show` or `get_results` to get and plot data drift results in Python."
"Turn on a scheduled pipeline which will anlayze the target dataset for drift every `frequency`. Use the latency parameter to adjust the start time of the pipeline. For instance, if it takes 24 hours for my data processing pipelines for data to arrive in the target dataset, set latency to 24. "
]
},
{
@@ -377,8 +354,11 @@
"metadata": {},
"outputs": [],
"source": [
"link = 'https://ml.azure.com/data/monitor/{}?wsid=/subscriptions/{}/resourcegroups/{}/workspaces/{}&startDate={}&endDate={}'.format(monitor.name, ws.subscription_id, ws.resource_group, ws.name, backfill_start_date.strftime('%Y-%m-%d'), backfill_end_date .strftime('%Y-%m-%d'))\n",
"print(link)"
"# enable the pipeline schedule and recieve email alerts\n",
"monitor.enable_schedule()\n",
"\n",
"# disable the pipeline schedule \n",
"#monitor.disable_schedule()"
]
},
{