Skip to content

Commit fe8c499

Browse files
Apply suggestions from review by Gary.
Co-authored-by: Gary Ericson <garye@microsoft.com>
1 parent 6f4dced commit fe8c499

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/machine-learning/predictions/native-scoring-predict-transact-sql.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ monikerRange: ">=sql-server-2017||=azuresqldb-current||>=sql-server-linux-2017||
1515
# Native scoring using the PREDICT T-SQL function with SQL machine learning
1616
[!INCLUDE[tsql-appliesto-ss2017-asdb-asdbmi-asdw-xxx-md](../../includes/tsql-appliesto-ss2017-asdb-asdbmi-asdw-xxx-md.md)]
1717

18-
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.
18+
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.
1919

2020
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.
2121

2222
## How native scoring works
2323

24-
Native scoring uses libraries that can read model in ONNX or predefined binary format, and generate scores for new data inputs that you provide. Because the model is trained, deployed, and stored, it can be used for scoring without having to call the R or Python interpreter. As such, the overhead of multiple process interactions is reduced, resulting in faster prediction performance.
24+
Native scoring uses libraries that can read models in ONNX or a predefined binary format, and generate scores for new data inputs that you provide. Because the model is trained, deployed, and stored, it can be used for scoring without having to call the R or Python interpreter. This means that the overhead of multiple process interactions is reduced, resulting in faster prediction performance.
2525

2626
To use native scoring, call the `PREDICT` T-SQL function and pass the following required inputs:
2727

@@ -40,11 +40,11 @@ The function returns predictions for the input data, together with any columns o
4040
+ Azure SQL Edge
4141
+ Azure Synapse Analytics
4242

43-
The function is enabled by default. You do not need to install R, Python, or enable additional features.
43+
The function is enabled by default. You do not need to install R or Python, or enable additional features.
4444

4545
## Supported models
4646

47-
`PREDICT` model format support depends on the SQL platform you perform native scoring on. See the table below for which model formats are supported on which platform.
47+
The model formats supported by the `PREDICT` function depends on the SQL platform on which you perform native scoring. See the table below to see which model formats are supported on which platform.
4848

4949
| Platform | ONNX model format | RevoScale model format |
5050
|-|-|-|
@@ -156,7 +156,7 @@ GO
156156
DROP TABLE IF EXISTS iris_rx_data;
157157
GO
158158
CREATE TABLE iris_rx_data (
159-
"Sepal.Length" float not null, "Sepal.Width" float not null
159+
"Sepal.Length" float not null, "Sepal.Width" float not null
160160
, "Petal.Length" float not null, "Petal.Width" float not null
161161
, "Species" varchar(100) null
162162
);

0 commit comments

Comments
 (0)