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/azure-sql-edge/deploy-onnx.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
-
title: Deploy and make predictions with ONNX in SQL Database Edge Preview
3
-
description: Learn how to train a model, convert it to ONNX, deploy it to Azure SQL Database Edge Preview, and then run native PREDICT on data using the uploaded ONNX model.
4
-
keywords: deploy sql database edge
2
+
title: Deploy and make predictions with ONNX in SQL Edge Preview
3
+
description: Learn how to train a model, convert it to ONNX, deploy it to Azure SQL Edge Preview, and then run native PREDICT on data using the uploaded ONNX model.
4
+
keywords: deploy SQL Edge
5
5
services: sql-database-edge
6
6
ms.service: sql-database-edge
7
7
ms.subservice: machine-learning
@@ -11,15 +11,15 @@ ms.author: davidph
11
11
ms.date: 04/23/2020
12
12
---
13
13
14
-
# Deploy and make predictions with an ONNX model in SQL Database Edge Preview
14
+
# Deploy and make predictions with an ONNX model in SQL Edge Preview
15
15
16
-
In this quickstart, you'll learn how to train a model, convert it to ONNX, deploy it to Azure SQL Database Edge Preview, and then run native PREDICT on data using the uploaded ONNX model. For more information, see [Machine learning and AI with ONNX in SQL Database Edge Preview](onnx-overview.md).
16
+
In this quickstart, you'll learn how to train a model, convert it to ONNX, deploy it to Azure SQL Edge Preview, and then run native PREDICT on data using the uploaded ONNX model. For more information, see [Machine learning and AI with ONNX in SQL Edge Preview](onnx-overview.md).
17
17
18
18
This quickstart is based on **scikit-learn** and uses the [Boston Housing dataset](https://scikit-learn.org/stable/modules/generated/sklearn.datasets.load_boston.html).
19
19
20
20
## Before you begin
21
21
22
-
* If you haven't deployed an Azure SQL Database Edge module, follow the steps of [deploy SQL Database Edge Preview using the Azure portal](deploy-portal.md).
22
+
* If you haven't deployed an Azure SQL Edge module, follow the steps of [deploy SQL Edge Preview using the Azure portal](deploy-portal.md).
23
23
24
24
* Install [Azure Data Studio](https://docs.microsoft.com/sql/azure-data-studio/download).
25
25
@@ -214,7 +214,7 @@ MSE are equal
214
214
215
215
## Insert the ONNX model
216
216
217
-
Store the model in Azure SQL Database Edge, in a `models` table in a database `onnx`. In the connection string, specify the **server address**, **username**, and **password**.
217
+
Store the model in Azure SQL Edge, in a `models` table in a database `onnx`. In the connection string, specify the **server address**, **username**, and **password**.
218
218
219
219
```python
220
220
import pyodbc
@@ -272,7 +272,7 @@ conn.commit()
272
272
273
273
## Load the data
274
274
275
-
Load the data into Azure SQL Database Edge.
275
+
Load the data into Azure SQL Edge.
276
276
277
277
First, create two tables, **features** and **target**, to store subsets of the Boston housing dataset.
278
278
@@ -345,7 +345,7 @@ Now you can view the data in the database.
345
345
346
346
## Run PREDICT using the ONNX model
347
347
348
-
With the model in Azure SQL Database Edge, run native PREDICT on the data using the uploaded ONNX model.
348
+
With the model in Azure SQL Edge, run native PREDICT on the data using the uploaded ONNX model.
349
349
350
350
> [!NOTE]
351
351
> Change the notebook kernel to SQL to run the remaining cell.
@@ -384,4 +384,4 @@ FROM PREDICT(MODEL = @model, DATA = predict_input) WITH (variable1 FLOAT) AS p
384
384
385
385
## Next Steps
386
386
387
-
*[Machine Learning and AI with ONNX in SQL Database Edge](onnx-overview.md)
387
+
*[Machine Learning and AI with ONNX in SQL Edge](onnx-overview.md)
Copy file name to clipboardExpand all lines: articles/azure-sql-edge/deploy-portal.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
-
title: Deploy SQL Database Edge Preview using the Azure portal | Microsoft Docs
3
-
description: Learn how to deploy Azure SQL Database Edge using the Azure portal
4
-
keywords: deploy sql database edge
2
+
title: Deploy SQL Edge Preview using the Azure portal | Microsoft Docs
3
+
description: Learn how to deploy Azure SQL Edge using the Azure portal
4
+
keywords: deploy SQL Edge
5
5
services: sql-database-edge
6
6
ms.service: sql-database-edge
7
7
ms.topic: conceptual
@@ -11,29 +11,29 @@ ms.reviewer: sstein
11
11
ms.date: 11/04/2019
12
12
---
13
13
14
-
# Deploy Azure SQL Database Edge Preview
14
+
# Deploy Azure SQL Edge Preview
15
15
16
-
Azure SQL Database Edge Preview is a relational database engine optimized for IoT and Azure IoT Edge deployments. It provides capabilities to create a high-performance data storage and processing layer for IoT applications and solutions. This quickstart shows you how to get started with creating an Azure SQL Database Edge module through Azure IoT Edge using the Azure portal.
16
+
Azure SQL Edge Preview is a relational database engine optimized for IoT and Azure IoT Edge deployments. It provides capabilities to create a high-performance data storage and processing layer for IoT applications and solutions. This quickstart shows you how to get started with creating an Azure SQL Edge module through Azure IoT Edge using the Azure portal.
17
17
18
18
## Before you begin
19
19
20
20
* If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/).
21
21
* Sign in to the [Azure portal](https://portal.azure.com/).
22
-
* Submit a request [here](https://azure.microsoft.com/services/sql-database-edge/#contact), to have the subscription enabled for deployment of SQL Database Edge.
22
+
* Submit a request [here](https://azure.microsoft.com/services/sql-database-edge/#contact), to have the subscription enabled for deployment of SQL Edge.
23
23
* Create an [Azure IoT Hub](../iot-hub/iot-hub-create-through-portal.md).
24
24
* Register an [IoT Edge Device from the Azure portal](../iot-edge/how-to-register-device-portal.md).
25
25
* Prepare the IoT Edge device to [deploy IoT Edge module from the Azure portal](../iot-edge/how-to-deploy-modules-portal.md).
26
26
27
27
> [!NOTE]
28
28
> To deploy an Azure Linux VM as an IoT Edge device, see this [quickstart guide](../iot-edge/quickstart-linux.md).
29
29
30
-
## Deploy SQL Database Edge Module from Azure Marketplace
30
+
## Deploy SQL Edge Module from Azure Marketplace
31
31
32
-
Azure Marketplace is an online applications and services marketplace where you can browse through a wide range of enterprise applications and solutions that are certified and optimized to run on Azure, including [IoT Edge modules](https://azuremarketplace.microsoft.com/marketplace/apps/category/internet-of-things?page=1&subcategories=iot-edge-modules). Azure SQL Database Edge can be deployed to an edge device through the marketplace.
32
+
Azure Marketplace is an online applications and services marketplace where you can browse through a wide range of enterprise applications and solutions that are certified and optimized to run on Azure, including [IoT Edge modules](https://azuremarketplace.microsoft.com/marketplace/apps/category/internet-of-things?page=1&subcategories=iot-edge-modules). Azure SQL Edge can be deployed to an edge device through the marketplace.
33
33
34
-
1. Find the Azure SQL Database Edge module on the Azure Marketplace.<br><br>
34
+
1. Find the Azure SQL Edge module on the Azure Marketplace.<br><br>
35
35
36
-

36
+

37
37
38
38
2. Pick the software plan that best matches your requirements and click **Create**. <br><br>
39
39
@@ -45,16 +45,16 @@ Azure Marketplace is an online applications and services marketplace where you c
45
45
|---------|---------|
46
46
|Subscription | The Azure subscription under which the IoT Hub was created |
47
47
|IoT Hub | Name of the IoT Hub where the IoT Edge device is registered and then select "Deploy to a device" option|
48
-
|IoT Edge Device Name | Name of the IoT Edge device where SQL Database Edge would be deployed |
48
+
|IoT Edge Device Name | Name of the IoT Edge device where SQL Edge would be deployed |
49
49
50
-
4. On the **Set Modules** page, navigate to the section on deployment modules and click **Configure** against the SQL Database Edge module.
50
+
4. On the **Set Modules** page, navigate to the section on deployment modules and click **Configure** against the SQL Edge module.
51
51
52
52
5. On the **IoT Edge Custom Modules** pane, specify the desired values for the environment variables and/or customize the create options and desired properties for the module. For a complete list of supported environment variables refer [SQL Server Container Environment Variables](/sql/linux/sql-server-linux-configure-environment-variables/).
53
53
54
54
|**Parameter**|**Description**|
55
55
|---------|---------|
56
56
| Name | Name for the module. |
57
-
|SA_PASSWORD | Specify a strong password for the SQL Database Edge admin account. |
57
+
|SA_PASSWORD | Specify a strong password for the SQL Edge admin account. |
58
58
|MSSQL_LCID | Sets the language ID to use for SQL Server. For example, 1036 is French. |
59
59
|MSSQL_COLLATION | Sets the default collation for SQL Server. This setting overrides the default mapping of language ID (LCID) to collation. |
60
60
@@ -91,7 +91,7 @@ Azure Marketplace is an online applications and services marketplace where you c
91
91
}
92
92
```
93
93
94
-
7. On the **IoT Edge Custom Modules** pane, update the *Set module twin's desired properties* to include the location of the SQL package and the stream analytics job info. These two fields are optional and should be used if you want to deploy the SQL Database Edge module with a database and a streaming job.
94
+
7. On the **IoT Edge Custom Modules** pane, update the *Set module twin's desired properties* to include the location of the SQL package and the stream analytics job info. These two fields are optional and should be used if you want to deploy the SQL Edge module with a database and a streaming job.
95
95
96
96
```json
97
97
{
@@ -110,9 +110,9 @@ Azure Marketplace is an online applications and services marketplace where you c
110
110
12. Click **Next**.
111
111
13. Click **Submit**.
112
112
113
-
In this quickstart, you deployed a SQL Database Edge Module on an IoT Edge device.
113
+
In this quickstart, you deployed a SQL Edge Module on an IoT Edge device.
114
114
115
115
## Next Steps
116
116
117
-
-[Machine Learning and Artificial Intelligence with ONNX in SQL Database Edge](onnx-overview.md).
118
-
- Building an end to end IoT Solution with SQL Database Edge using IoT Edge.
117
+
-[Machine Learning and Artificial Intelligence with ONNX in SQL Edge](onnx-overview.md).
118
+
- Building an end to end IoT Solution with SQL Edge using IoT Edge.
0 commit comments