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
Learn how to use native scoring with the [PREDICT T-SQL function](../../t-sql/queries/predict-transact-sql.md) to generate prediction values for new data inputs in near-real-time. Native scoring requires that you have an already-trained model.
19
20
20
-
The `PREDICT` function uses the native C++ extension capabilities in [SQL machine learning](../index.yml). This methodology offers the fastest possible processing speed of forecasting and prediction workloads and support models in [Open Neural Network Exchange (ONNX)](https://onnx.ai/get-started.html) format or models trained using the [RevoScaleR](../r/ref-r-revoscaler.md) and [revoscalepy](../python/ref-py-revoscalepy.md) packages.
21
+
The `PREDICT` function uses the native C++ extension capabilities in [SQL machine learning](../index.yml). This methodology offers the fastest possible processing speed of forecasting and prediction workloads and support models in [Open Neural Network Exchange (ONNX)](https://onnx.ai/get-started.html) format (Azure Synapse Analytics only) or models trained using the [RevoScaleR](../r/ref-r-revoscaler.md) and [revoscalepy](../python/ref-py-revoscalepy.md) packages.
21
22
22
23
## How native scoring works
23
24
@@ -36,11 +37,9 @@ The function returns predictions for the input data, together with any columns o
36
37
37
38
+ All editions of SQL Server 2017 and later on Windows and Linux
38
39
+ Azure SQL Managed Instance
39
-
+ Azure SQL Database
40
-
+ Azure SQL Edge
41
40
+ Azure Synapse Analytics
42
41
43
-
The function is enabled by default. You do not need to install R or Python, or enable additional features.
42
+
The function is enabled by default. You don't need to install R or Python, or enable additional features.
44
43
45
44
## Supported models
46
45
@@ -49,12 +48,10 @@ The model formats supported by the `PREDICT` function depends on the SQL platfor
49
48
| Platform | ONNX model format | RevoScale model format |
> Be sure to use the [rxSerializeModel](/machine-learning-server/r-reference/revoscaler/rxserializemodel) function from RevoScaleR to save the model. The standard R `serialize` function cannot generate the required format.
204
+
> Be sure to use the [rxSerializeModel](/machine-learning-server/r-reference/revoscaler/rxserializemodel) function from RevoScaleR to save the model. The standard R `serialize` function can't generate the required format.
208
205
209
206
You can run a statement such as the following to view the stored model in binary format:
210
207
@@ -235,10 +232,8 @@ If you get the error, "Error occurred during execution of the function PREDICT.
235
232
> Because the columns and values returned by **PREDICT** can vary by model type, you must define the schema of the returned data by using a **WITH** clause.
0 commit comments