You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-homomorphic-encryption-seal.md
+8-26Lines changed: 8 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,13 +12,11 @@ ms.topic: conceptual
12
12
#intent: As a data scientist, I want to deploy a service that uses homomorphic encryption to make predictions on encrypted image data
13
13
---
14
14
15
-
# Deploy an image classification model for encrypted inferencing in Azure Container Instance (ACI)
15
+
# How to deploy an encrypted image classification service
16
16
17
-
This tutorial is **a new addition to the two-part series**. In the [previous tutorial](img-classification-part1-training.ipynb), you trained machine learning models and then registered a model in your workspace on the cloud.
17
+
Learn how to deploy an image classification model as a encrypted inferencing web service in [Azure Container Instances](https://docs.microsoft.com/azure/container-instances/) (ACI). A web service is an image, in this case a Docker image, that encapsulates the scoring logic and the model itself.
18
18
19
-
Now, you're ready to deploy the model as a encrypted inferencing web service in [Azure Container Instances](https://docs.microsoft.com/azure/container-instances/) (ACI). A web service is an image, in this case a Docker image, that encapsulates the scoring logic and the model itself.
20
-
21
-
In this part of the tutorial, you use Azure Machine Learning service (Preview) to:
19
+
In this part of the tutorial, you use Azure Machine Learning service to:
22
20
23
21
> * Set up your testing environment
24
22
> * Retrieve the model from your workspace
@@ -28,14 +26,10 @@ In this part of the tutorial, you use Azure Machine Learning service (Preview) t
28
26
29
27
ACI is a great solution for testing and understanding the workflow. For scalable production deployments, consider using Azure Kubernetes Service. For more information, see [how to deploy and where](https://docs.microsoft.com/azure/machine-learning/service/how-to-deploy-and-where).
30
28
31
-
32
29
## Prerequisites
33
30
34
31
Complete the model training in the [Tutorial #1: Train an image classification model with Azure Machine Learning](train-models.ipynb) notebook.
35
32
36
-
37
-
<!-- #endregion -->
38
-
39
33
```python
40
34
# If you did NOT complete the tutorial, you can instead run this cell
41
35
# This will register a model and download the data needed for this tutorial
Feed the test dataset to the model to get predictions. We will need to send the connection string to the blob storage where the public keys were uploaded
@@ -375,8 +364,6 @@ To keep the resource group and workspace for other tutorials and exploration, yo
375
364
service.delete()
376
365
```
377
366
378
-
<!-- #region -->
379
-
380
367
If you're not going to use what you've created here, delete the resources you just created with this quickstart so you don't incur any charges. In the Azure portal, select and delete your resource group. You can also keep the resource group, but delete a single workspace by displaying the workspace properties and selecting the Delete button.
381
368
382
369
## Next steps
@@ -387,9 +374,4 @@ In this Azure Machine Learning tutorial, you used Python to:
387
374
> * Retrieve the model from your workspace
388
375
> * Test the model locally
389
376
> * Deploy the model to ACI
390
-
> * Test the deployed model
391
-
392
-
You can also try out the [regression tutorial](regression-part1-data-prep.ipynb).
0 commit comments