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
Start here to find a list of all resources for learning about machine learning solutions using [!INCLUDE[sscurrent-md](../includes/sscurrent-md.md)] or [!INCLUDE[sssql15-md](../includes/sssql15-md.md)].
82
+
Start here to find a list of all resources for learning about machine learning solutions using SQL Server 2016 and SQL Server 2017.
83
83
84
84
### R tutorials
85
85
@@ -91,7 +91,7 @@ You can also install [!INCLUDE[rsql-platform-md](../includes/rsql-platform-md.md
91
91
92
92
+[Explore R and ScaleR in 25 short functions](https://docs.microsoft.com/r-server/r/tutorial-r-to-revoscaler)
93
93
94
-
New to R? Wondering how Microsoft R (or RevoScaleR) compares to standard R? See these quick-starts for R Server.
94
+
New to R? Wondering how Microsoft R (or RevoScaleR) compares to standard R? See these quick-starts for R Server and Machine Learning Server.
Copy file name to clipboardExpand all lines: docs/advanced-analytics/python/setup-python-machine-learning-services.md
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Setup and configuration for Python Machine Learning Services | Microsoft Docs"
3
3
ms.custom: ""
4
-
ms.date: "07/31/2017"
4
+
ms.date: "12/20/2017"
5
5
ms.reviewer:
6
6
ms.suite: sql
7
7
ms.prod: machine-learning-services
@@ -18,7 +18,7 @@ ms.workload: "On Demand"
18
18
---
19
19
# Set up Python Machine Learning Services (In-Database)
20
20
21
-
You install the components required for Python by running the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] setup wizard, and following the interactive prompts as described in this topic.
21
+
This article describes how to install the components required for Python by running the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] setup wizard, and following the interactive prompts.
22
22
23
23
## Machine learning options in SQL Server setup
24
24
@@ -38,11 +38,12 @@ After the installation is complete, reconfigure the instance to allow execution
38
38
As a workaround, you can use replication to copy necessary tables to a standalone SQL Server instance that uses Python services. Alternatively, you can install machine learning with Python services on a standalone computer that uses the AlwaysOn setting, and is part of an availability group.
39
39
40
40
+ Side-by-side installation with other versions of Python is possible, because the SQL Server instance uses its own copy of the Anaconda distribution. However, running code that uses Python on the SQL Server computer outside SQL Server can lead to various problems:
41
-
+ You use a different library and different executable, and get different results, than you do when you are running in SQL Server.
42
-
+ Python scripts running in external libraries cannot be managed by SQL Server, leading to resource contention.
41
+
42
+
- You use a different library and different executable, and get different results, than you do when you are running in SQL Server.
43
+
- Python scripts running in external libraries cannot be managed by SQL Server, leading to resource contention.
43
44
44
45
> [!IMPORTANT]
45
-
> After setup is complete, be sure to complete the additional post-configuration steps described in this topic. These include enabling SQL Server to use external scripts, and adding accounts required for SQL Server to run Python jobs on your behalf.
46
+
> After setup is complete, be sure to complete the additional post-configuration steps described in this article. These steps include enabling SQL Server to use external scripts, and adding accounts required for SQL Server to run Python jobs on your behalf.
46
47
47
48
### Unattended installation
48
49
@@ -102,7 +103,12 @@ To perform an unattended installation, use the command-line options for SQL Serv
1. Open [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)]. If it is not already installed, you can run the SQL Server setup wizard again to open a download link and install it.
106
+
1. Open [!INCLUDE[ssManStudioFull](../../includes/ssmanstudiofull-md.md)].
107
+
108
+
> [!TIP]
109
+
> You can download and install the appropriate version from this page: [Download SQL Server Management Studio (SSMS)](https://docs.microsoft.com/sql/ssms/download-sql-server-management-studio-ssms).
110
+
>
111
+
> You can also try out the preview release of [SQL Operations Studio](https://docs.microsoft.com/sql/sql-operations-studio/what-is), which supports administrative tasks and queries against SQL Server.
106
112
107
113
2. Connect to the instance where you installed Machine Learning Services, and run the following command:
108
114
@@ -119,7 +125,7 @@ To perform an unattended installation, use the command-line options for SQL Serv
119
125
RECONFIGURE WITH OVERRIDE
120
126
```
121
127
122
-
If you have already enabled the feature for the R language, you don't need to run reconfigure a second time for Python. The underlying extensibility platform supports both languages.
128
+
If you have already enabled the feature for the R language, don't run reconfigure a second time for Python. The underlying extensibility platform supports both languages.
123
129
124
130
4. Restart the SQL Server service for the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] instance. Restarting the SQL Server service also automatically restarts the related [!INCLUDE[rsql_launchpad](../../includes/rsql-launchpad-md.md)] service.
Copy file name to clipboardExpand all lines: docs/advanced-analytics/r/add-sqlrusergroup-to-database.md
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: "Add SQLRUserGroup as a database user | Microsoft Docs"
3
3
ms.custom: ""
4
-
ms.date: "11/13/2017"
4
+
ms.date: "12/21/2017"
5
5
ms.reviewer:
6
6
ms.suite: sql
7
7
ms.prod: machine-learning-services
@@ -23,11 +23,17 @@ ms.workload: "Active"
23
23
---
24
24
# Add SQLRUserGroup as a database user
25
25
26
-
During setup of [!INCLUDE[rsql-productnamenew-md](../../includes/rsql-productnamenew-md.md)] or [!INCLUDE[rsql-productname-md](../../includes/rsql-productname-md.md)], new Windows user accounts are created for running tasks under the security token of the [!INCLUDE[rsql_launchpad_md](../../includes/rsql-launchpad-md.md)] service. When a user sends a machine learning script from an external client, [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] activates an available worker account, maps it to the identity of the calling user, and runs the script on behalf of the user. This new service of the database engine supports the secure execution of external scripts, called *implied authentication*.
26
+
This article explains how to give the group of worker accounts used by machine learning services in SQL Server the permissions required to connect to the database and run R or Python jobs on behalf of the user.
27
27
28
-
You can view these accounts in the Windows user group **SQLRUserGroup**. By default, 20 worker accounts are created, which is usually more than enough for running R jobs.
28
+
## What is SQLRUserGroup?
29
29
30
-
However, if you need to run R scripts from a remote data science client and are using Windows authentication, you must grant these worker accounts permission to sign in to the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] instance on your behalf.
30
+
During setup of [!INCLUDE[rsql-productnamenew-md](../../includes/rsql-productnamenew-md.md)] or [!INCLUDE[rsql-productname-md](../../includes/rsql-productname-md.md)], new Windows user accounts are created to support execution of R or Python script tasks under the security token of the [!INCLUDE[rsql_launchpad_md](../../includes/rsql-launchpad-md.md)] service.
31
+
32
+
You can view these accounts in the Windows user group **SQLRUserGroup**. By default, 20 worker accounts are created, which is usually more than enough for running machine learning jobs.
33
+
34
+
When a user sends a machine learning script from an external client, [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] activates an available worker account, maps it to the identity of the calling user, and runs the script on behalf of the user. This new service of the database engine supports the secure execution of external scripts, called *implied authentication*.
35
+
36
+
However, if you need to run R or Python scripts from a remote data science client, and you are using Windows authentication, you must give these worker accounts permission to sign in to the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] instance on your behalf.
31
37
32
38
## Add SQLRUserGroup as a SQL Server login
33
39
@@ -51,8 +57,8 @@ However, if you need to run R scripts from a remote data science client and are
51
57
52
58
5. Scroll through the list of group accounts on the server until you find one beginning with `SQLRUserGroup`.
53
59
54
-
+ The name of the group that's associated with the Launchpad service for the _default instance_ is always just **SQLRUserGroup**. Select this account only for the default instance.
55
-
+ If you are using a _named instance_, the instance name is appended to the default name `SQLRUserGroup`. Hence, if your instance is named "MLTEST", the default user group name for this instance would be **SQLRUserGroupMLTest**.
60
+
+ The name of the group that's associated with the Launchpad service for the _default instance_ is always **SQLRUserGroup**, regardless of whether you installed R or Python or both. Select this account for the default instance only.
61
+
+ If you are using a _named instance_, the instance name is appended to the name of the default worker group name,`SQLRUserGroup`. Hence, if your instance is named "MLTEST", the default user group name for this instance would be **SQLRUserGroupMLTest**.
56
62
57
63

58
64
@@ -71,4 +77,4 @@ If you intend to make heavy use of machine learning, you can increase the number
71
77
72
78
+[Modify the user account pool for machine learning](modify-the-user-account-pool-for-sql-server-r-services.md)
73
79
74
-
By default, 20 accounts are created, which supports 20 concurrent sessions. Parallelized tasks do not consume additional accounts. For example, if a user runs a scoring task that uses parallel processing, the same worker account is reused for all threads.
80
+
By default, 20 accounts are created, which supports 20 concurrent sessions. Parallelized tasks do not consume additional accounts. For example, if a user runs a scoring task that uses parallel processing, the same worker account is reused for all threads.
0 commit comments