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
Generates a predicted value or scores based on a stored model. For more information, see [Native scoring using the PREDICT T-SQL function](../../machine-learning/predictions/native-scoring-predict-transact-sql.md).
27
27
28
-
> [!IMPORTANT]
29
-
> Support for `PREDICT` is in Preview in Azure SQL Managed Instance.
@@ -169,7 +166,7 @@ The `MODEL` parameter is used to specify the model used for scoring or predictio
169
166
In Azure SQL Managed Instance, `PREDICT` supports models in [Open Neural Network Exchange (ONNX)](https://onnx.ai/get-started.html) format or models trained using the [RevoScaleR](../../machine-learning/r/ref-r-revoscaler.md) and [revoscalepy](../../machine-learning/python/ref-py-revoscalepy.md) packages.
170
167
171
168
> [!IMPORTANT]
172
-
> Support for `PREDICT` is in Preview in Azure SQL Managed Instance.
169
+
> Support for ONNX in `PREDICT` is in preview in Azure SQL Managed Instance.
173
170
174
171
::: moniker-end
175
172
@@ -186,7 +183,7 @@ The DATA parameter is used to specify the data used for scoring or prediction. D
186
183
**RUNTIME = ONNX**
187
184
188
185
> [!IMPORTANT]
189
-
> The `RUNTIME = ONNX` argument is only available in [Azure SQL Edge](/azure/sql-database-edge/onnx-overview), [Azure Synapse Analytics](/azure/synapse-analytics/overview-what-is), and is in Preview in [Azure SQL Managed Instance](/azure/azure-sql/managed-instance/machine-learning-services-overview).
186
+
> The `RUNTIME = ONNX` argument is only available in [Azure SQL Edge](/azure/sql-database-edge/onnx-overview), [Azure Synapse Analytics](/azure/synapse-analytics/overview-what-is), and is in preview in [Azure SQL Managed Instance](/azure/azure-sql/managed-instance/machine-learning-services-overview).
190
187
191
188
Indicates the machine learning engine used for model execution. The `RUNTIME` parameter value is always `ONNX`. The parameter is required for Azure SQL Edge and Azure Synapse Analytics. On Azure SQL Managed Instance (in Preview), the parameter is optional and only used when using ONNX models.
192
189
@@ -259,7 +256,7 @@ FROM PREDICT(MODEL = @model,
259
256
260
257
The alias **d** specified for table source in the `DATA` parameter is used to reference the columns belonging to `dbo.mytable`. The alias **p** specified for the `PREDICT` function is used to reference the columns returned by the `PREDICT` function.
261
258
262
-
- The model is stored as `varbinary(max)` column in table call **Models**. Additional information such as **ID** and **description** is saved in the table to identify the mode.
259
+
- The model is stored as `varbinary(max)` column in table called `Models`. Additional information such as `ID` and `description` is saved in the table to identify the model.
263
260
- The alias **d** specified for table source in the `DATA` parameter is used to reference the columns belonging to `dbo.mytable`. The input data column names should match the name of inputs for the model.
264
261
- The alias **p** specified for the `PREDICT` function is used to reference the predicted column returned by the `PREDICT` function. The column name should have the same name as the output name for the model.
265
262
- All input data columns and the predicted columns are available to display in the SELECT statement.
@@ -306,8 +303,8 @@ FROM PREDICT(MODEL = @model, DATA = dbo.mytable AS d, RUNTIME = ONNX) WITH(score
306
303
307
304
:::moniker-end
308
305
309
-
- The results of `PREDICT` are stored in a table called PredictionResults.
310
-
- The model is stored as `varbinary(max)` column in table call **Models**. Additional information such as ID and description can be saved in the table to identify the model.
306
+
- The results of `PREDICT` are stored in a table called `PredictionResults`.
307
+
- The model is stored as `varbinary(max)` column in table called `Models`. Additional information such as ID and description can be saved in the table to identify the model.
311
308
- The alias **d** specified for table source in the `DATA` parameter is used to reference the columns in `dbo.mytable`. The input data column names should match the name of inputs for the model.
312
309
- The alias **p** specified for the `PREDICT` function is used to reference the predicted column returned by the `PREDICT` function. The column name should have the same name as the output name for the model.
313
310
- All input columns and the predicted column are available to display in the SELECT statement.
@@ -321,4 +318,4 @@ Learn more about related concepts in the following articles:
321
318
-[Revoscalepy (Python package in SQL Server Machine Learning Services)](../../machine-learning/python/ref-py-revoscalepy.md)
0 commit comments