Skip to content

Commit 1f9f1ce

Browse files
committed
Minor edits
1 parent 790fc20 commit 1f9f1ce

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Native scoring uses libraries that can read model in ONNX or predefined binary f
2525

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

28-
+ A compatible model based on a supported algorithm.
28+
+ A compatible model based on a supported model and algorithm.
2929
+ Input data, typically defined as a T-SQL query.
3030

3131
The function returns predictions for the input data, together with any columns of source data that you want to pass through.
@@ -63,7 +63,7 @@ The model must be in an [Open Neural Network Exchange (ONNX)](https://onnx.ai/ge
6363
::: moniker range=">=sql-server-2017||>=sql-server-linux-2017||=azuresqldb-mi-current||=azuresqldb-current||=sqlallproducts-allversions"
6464
### RevoScale models
6565

66-
The model must be trained in advance using one of the supported **rx** algorithms listed below using the RevoScaleR or revoscalepy package.
66+
The model must be trained in advance using one of the supported **rx** algorithms listed below using the [RevoScaleR](../r/ref-r-revoscaler.md) or [revoscalepy](../python/ref-py-revoscalepy.md) package.
6767

6868
Serialize the model using [rxSerialize](https://docs.microsoft.com/machine-learning-server/r-reference/revoscaler/rxserializemodel) for R, and [rx_serialize_model](https://docs.microsoft.com/machine-learning-server/python-reference/revoscalepy/rx-serialize-model) for Python. These serialization functions have been optimized to support fast scoring.
6969

@@ -144,7 +144,7 @@ FROM PREDICT(MODEL = @model, DATA = predict_input, RUNTIME=ONNX) WITH (variable1
144144

145145
In this example, you create a model, and then call the real-time prediction function from T-SQL.
146146

147-
### Step 1. Prepare and save the model
147+
#### Step 1. Prepare and save the model
148148

149149
Run the following code to create the sample database and required tables.
150150

@@ -213,7 +213,7 @@ SELECT *, datalength(native_model_object)/1024. as model_size_kb
213213
FROM ml_models;
214214
```
215215

216-
### Step 2. Run PREDICT on the model
216+
#### Step 2. Run PREDICT on the model
217217

218218
The following simple PREDICT statement gets a classification from the decision tree model using the **native scoring** function. It predicts the iris species based on attributes you provide, petal length and width.
219219

0 commit comments

Comments
 (0)