Skip to content

Commit daaf081

Browse files
committed
Update PREDICT for clarity of model and algorithm support
1 parent 1f9f1ce commit daaf081

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

docs/t-sql/queries/predict-transact-sql.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ MODEL = @model | model_literal
5555
The `MODEL` parameter is used to specify the model used for scoring or prediction. The model is specified as a variable or a literal or a scalar expression.
5656

5757
::: moniker range=">=sql-server-2017||=azuresqldb-current||>=sql-server-linux-2017||=sqlallproducts-allversions"
58-
The model object can be created by using R or Python or another tool.
58+
`PREDICT` supports models trained using the [RevoScaleR](../r/ref-r-revoscaler.md) and [revoscalepy](../python/ref-py-revoscalepy.md) packages.
5959
::: moniker-end
6060

6161
::: moniker range="=azuresqldb-mi-current||=sqlallproducts-allversions"
62-
The model object can be created by using R or Python or another tool. [Open Neural Network Exchange (ONNX)](https://onnx.ai/get-started.html) is also a supported model format for Azure SQL Managed Instance.
62+
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](../r/ref-r-revoscaler.md) and [revoscalepy](../python/ref-py-revoscalepy.md) packages.
6363
::: moniker-end
6464

6565
::: moniker range=">=azure-sqldw-latest||=sqlallproducts-allversions"
66-
[Open Neural Network Exchange (ONNX)](https://onnx.ai/get-started.html) is the supported model format for Azure Synapse.
66+
In Azure Synapse Analytics, `PREDICT` supports models in [Open Neural Network Exchange (ONNX)](https://onnx.ai/get-started.html) format.
6767
::: moniker-end
6868

6969
**DATA**
@@ -100,14 +100,18 @@ The `PREDICT` function is supported in all editions of SQL Server 2017 or later,
100100

101101
### Supported algorithms
102102

103+
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](../r/ref-r-revoscaler.md) and [revoscalepy](../python/ref-py-revoscalepy.md) packages.
104+
105+
106+
103107
::: moniker range=">=sql-server-2017||=azuresqldb-current||>=sql-server-linux-2017||=sqlallproducts-allversions"
104-
The model that you use must have been created using one of the supported algorithms from the RevoScaleR package. For a list of currently supported models, see [Real-time scoring](../../machine-learning/real-time-scoring.md).
108+
The model that you use must have been created using one of the supported algorithms from the [RevoScaleR](../r/ref-r-revoscaler.md) or [revoscalepy](../python/ref-py-revoscalepy.md) packages. For a list of currently supported models, see [Native scoring using the PREDICT T-SQL function](../../machine-learning/predictions/native-scoring-predict-transact-sql.md).
105109
::: moniker-end
106110
::: moniker range="=azure-sqldw-latest||=sqlallproducts-allversions"
107111
Algorithms that can be converted to [ONNX](https://onnx.ai/) model format are supported.
108112
::: moniker-end
109113
::: moniker range="=azuresqldb-mi-current||=sqlallproducts-allversions"
110-
Algorithms that can be converted to [ONNX](https://onnx.ai/) model format and models that you have been created using one of the supported algorithms from the RevoScaleR package are supported.
114+
Algorithms that can be converted to [ONNX](https://onnx.ai/) model format and models that you have created using one of the supported algorithms from the from the [RevoScaleR](../r/ref-r-revoscaler.md) or [revoscalepy](../python/ref-py-revoscalepy.md) packages are supported. For a list of currently supported algorithms in RevoScaleR and revoscalepy, see [Native scoring using the PREDICT T-SQL function](../../machine-learning/predictions/native-scoring-predict-transact-sql.md).
111115
::: moniker-end
112116

113117
### Permissions

0 commit comments

Comments
 (0)