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
# Install pre-trained machine learning models on SQL Server
16
16
[!INCLUDE [SQL Server 2016 and later](../../includes/applies-to-version/sqlserver2016.md)]
17
17
18
+
This article does not apply to SQL Server 2022.
19
+
18
20
This article explains how to use PowerShell to add free pre-trained machine learning models for *sentiment analysis* and *image featurization* to a SQL Server instance having R or Python integration. The pre-trained models are built by Microsoft and ready-to-use, added to an instance as a post-install task. For more information about these models, see the [Resources](#bkmk_resources) section of this article.
19
21
20
22
Once installed, the pre-trained models are considered an implementation detail that power specific functions in the MicrosoftML (R) and microsoftml (Python) libraries. You should not (and cannot) view, customize, or retrain the models, nor can you treat them as an independent resource in custom code or paired other functions.
Copy file name to clipboardExpand all lines: docs/machine-learning/sql-server-machine-learning-services.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,11 +76,13 @@ The following lists the versions of Python and R that are included in Machine Le
76
76
77
77
| SQL Server version | Cumulative Update | Python runtime version | R runtime versions |
78
78
|-|-|-|-|
79
+
| SQL Server 2022\*| RTM and later | 3.10.2 | 4.2.0 |
79
80
| SQL Server 2019 | RTM and later | 3.7.1 | 3.5.2 |
80
81
| SQL Server 2017 | CU22 and later | 3.5.2 and 3.7.2 | 3.3.3 and 3.5.2 |
81
82
| SQL Server 2017 | RTM - CU21 | 3.5.2 | 3.3.3 |
83
+
| SQL Server 2016 | See the [R version](r/sql-server-r-services.md?view=sql-server-2016&preserve-view=true#version)|||
82
84
83
-
For the R version in SQL Server 2016, see the [R version section in What is R Services?](r/sql-server-r-services.md?view=sql-server-2016&preserve-view=true#version)
85
+
\*For supported versions of R and Python and the RevoScaleR and revoscalepy packages, see [SQL 2022 R and Python versions and package versions]().
84
86
85
87
<aname="packages"></a>
86
88
@@ -91,12 +93,12 @@ You can use open-source packages and frameworks, in addition to Microsoft's ente
91
93
| Language | Package | Description |
92
94
|-|-|-|
93
95
| Python |[revoscalepy](python/ref-py-revoscalepy.md)| The primary package for scalable Python. Data transformations and manipulation, statistical summarization, visualization, and many forms of modeling. Additionally, functions in this package automatically distribute workloads across available cores for parallel processing. |
94
-
| Python |[microsoftml](python/ref-py-microsoftml.md)| Adds machine learning algorithms to create custom models for text analysis, image analysis, and sentiment analysis. |
96
+
| Python |[microsoftml](python/ref-py-microsoftml.md)|**Applies only to SQL Server 2019 and prior versions.**Adds machine learning algorithms to create custom models for text analysis, image analysis, and sentiment analysis. |
95
97
| R |[RevoScaleR](r/ref-r-revoscaler.md)| The primary package for scalable R. Data transformations and manipulation, statistical summarization, visualization, and many forms of modeling. Additionally, functions in this package automatically distribute workloads across available cores for parallel processing. |
96
-
| R |[MicrosoftML (R)](r/ref-r-microsoftml.md)| Adds machine learning algorithms to create custom models for text analysis, image analysis, and sentiment analysis. |
97
-
| R |[olapR](r/ref-r-olapr.md)| R functions used for MDX queries against a SQL Server Analysis Services OLAP cube. |
98
-
| R |[sqlrutils](r/ref-r-sqlrutils.md)| A mechanism to use R scripts in a T-SQL stored procedure, register that stored procedure with a database, and run the stored procedure from an [R development environment](r/set-up-data-science-client.md). |
99
-
| R |[Microsoft R Open](https://mran.microsoft.com/rro)| Microsoft R Open (MRO) is the enhanced distribution of R from Microsoft. It is a complete open-source platform for statistical analysis and data science. It is based on and 100% compatible with R, and includes additional capabilities for improved performance and reproducibility. |
98
+
| R |[MicrosoftML (R)](r/ref-r-microsoftml.md)|**Applies only to SQL Server 2019 and prior versions.**Adds machine learning algorithms to create custom models for text analysis, image analysis, and sentiment analysis. |
99
+
| R |[olapR](r/ref-r-olapr.md)|**Applies only to SQL Server 2019 and prior versions.**R functions used for MDX queries against a SQL Server Analysis Services OLAP cube. |
100
+
| R |[sqlrutils](r/ref-r-sqlrutils.md)|**Applies only to SQL Server 2019 and prior versions.**A mechanism to use R scripts in a T-SQL stored procedure, register that stored procedure with a database, and run the stored procedure from an [R development environment](r/set-up-data-science-client.md). |
101
+
| R |[Microsoft R Open](https://mran.microsoft.com/rro)|**Applies only to SQL Server 2019 and prior versions.**Microsoft R Open (MRO) is the enhanced distribution of R from Microsoft. It is a complete open-source platform for statistical analysis and data science. It is based on and 100% compatible with R, and includes additional capabilities for improved performance and reproducibility. |
100
102
101
103
For more information on which packages are installed with Machine Learning Services and how to install other packages, see:
0 commit comments