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
Copy file name to clipboardExpand all lines: docs/advanced-analytics/known-issues-for-sql-server-machine-learning-services.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ ms.workload: "On Demand"
19
19
20
20
This article describes known problems or limitations with machine learning components that are provided as an option in SQL Server 2016 and SQL Server 2017.
21
21
22
-
The information here applies to all of the following, unless specifically indicated:
22
+
The information here applies to all of the following, unless otherwise indicated:
23
23
24
24
* SQL Server 2016
25
25
@@ -167,13 +167,13 @@ If you need to use larger models, the following workarounds are available:
167
167
168
168
+ Take steps to reduce the size of your model. Some open source R packages include a great deal of information in the model object, and much of this information can be removed for deployment.
169
169
+ Use feature selection to remove unnecessary columns.
170
-
+ If you are using an open source algorithm, consider a similar implementation using the corresponding algorithn in MicrosoftML or RevoScaleR. These packages have been optimized for deployment scenarios.
170
+
+ If you are using an open source algorithm, consider a similar implementation using the corresponding algorithm in MicrosoftML or RevoScaleR. These packages have been optimized for deployment scenarios.
171
171
+ After the model has been rationalized and the size reduced using the preceding steps, see if the [memCompress](https://www.rdocumentation.org/packages/base/versions/3.4.1/topics/memCompress) function in base R can be used to reduce the size of the model before passing it to SQL Server. This option is best when the model is close to the 2 GB limit.
172
172
+ For larger models, you can use the SQL Server [FileTable](..\relational-databases\blob\filetables-sql-server.md) feature to store the models, rather than using a varbinary column.
173
173
174
174
To use FileTables, you must add a firewall exception, because data stored in FileTables is managed by the Filestream filesystem driver in SQL Server, and default firewall rules block network file access. For more information, see [Enable Prerequisites for FileTable](../relational-databases/blob/enable-the-prerequisites-for-filetable.md).
175
175
176
-
After you have enabled FileTable, to write the model, you get a path from SQL using the FileTable API, and then write the model to that location from your code. When you need to read the model, you get the path from SQL and then call the model using the path from your script. For more information, see [Access FileTables wth File Input-Output APIs](../relational-databases/blob/access-filetables-with-file-input-output-apis.md).
176
+
After you have enabled FileTable, to write the model, you get a path from SQL using the FileTable API, and then write the model to that location from your code. When you need to read the model, you get the path from SQL and then call the model using the path from your script. For more information, see [Access FileTables with File Input-Output APIs](../relational-databases/blob/access-filetables-with-file-input-output-apis.md).
177
177
178
178
### Avoid clearing workspaces when you execute R code in a [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] compute context
179
179
@@ -230,7 +230,7 @@ This limitation applies to data passed between SQL Server and Python as well. Mu
230
230
231
231
When a binary data type (the R **raw** data type) is returned from R, the value must be sent in the output data frame.
232
232
233
-
With data types other than **raw**, you can return parameter values along with the results of the stored procedure simply by adding the OUTPUT keyword. For more information, see [Return data by using OUTPUT parameters](https://technet.microsoft.com/library/ms187004.aspx).
233
+
With data types other than **raw**, you can return parameter values along with the results of the stored procedure by adding the OUTPUT keyword. For more information, see [Parameters](https://docs.microsoft.com/sql/relational-databases/stored-procedures/parameters).
234
234
235
235
If you want to use multiple output sets that include values of type **raw**, one possible workaround is to do multiple calls of the stored procedure, or to send the result sets back to [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] by using ODBC.
236
236
@@ -310,7 +310,7 @@ This section contains known issues that are specific to running Python on SQL Se
310
310
311
311
### Call to pretrained model fails if path to model is too long
312
312
313
-
If you install the pretrained models in a default installation, depending on your machine name and instance name, the resulting complete path to the trained model file might be too long for Python to read. This limitation will be fixed in an upcing service release.
313
+
If you install the pretrained models in a default installation, depending on your machine name and instance name, the resulting complete path to the trained model file might be too long for Python to read. This limitation will be fixed in an upcoming service release.
314
314
315
315
There are several potential workarounds:
316
316
@@ -320,7 +320,7 @@ There are several potential workarounds:
320
320
321
321
### Failure to initialize a varbinary variable causes an error in BxlServer
322
322
323
-
If you run Python code in SQL Server that generates an output variable of type varbinary(max), varchar(max) or similar types, the variable must be initialized as part of your script. If the variable is not initialized, the data exchange component, BxlServer, raises an error and stop working.
323
+
If you run Python code in SQL Server using `sp_execute_external_script`, and the code has output variables of type varbinary(max), varchar(max) or similar types, the variable must be initialized or set as part of your script. Otherwise, the data exchange component, BxlServer, raises an error and stops working.
324
324
325
325
This limitation will be fixed in an upcoming service release. As a workaround, make sure that the variable is initialized within the Python script. Any valid value can be used, as in the following examples:
Copy file name to clipboardExpand all lines: docs/advanced-analytics/r/install-pretrained-models-sql-server.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ For more information about deep learning networks and their implementation using
61
61
62
62
+ To upgrade the R or Python components at the same time, select the language (R, or Python, or both) that you want to update, and select the pretrained models option. Select one or more instances to apply these changes to.
63
63
64
-
+ If you have previously installed Machine Learning Server and updated R or Python components using the binding option, leave all previous selections **as is**, and select the pretrained models options. Do not deselect any previously selected options, or they will be removed.
64
+
+ If you have previously installed Machine Learning Server and updated R or Python components using the binding option, leave all previous selections **as is**, and select the pretrained models options. Do not deselect any previously selected options; if you do so, the installer removes the components.
65
65
66
66
3. When installation is complete, open a Windows command prompt **as administrator**, and navigate to the setup bootstrap folder for SQL Server, which also contains the Microsoft R installer. In a default instance of SQL Server 2017, the folder would be:
0 commit comments