Skip to content

Commit 321556e

Browse files
committed
Merging changes synced from https://github.com/MicrosoftDocs/sql-docs-pr (branch live)
2 parents e4fff74 + eddf8ce commit 321556e

14 files changed

Lines changed: 84 additions & 94 deletions

docs/advanced-analytics/tutorials/machine-learning-services-tutorials.md

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: SQL Server Machine Learning Services Tutorials | Microsoft Docs
33
ms.prod: sql
44
ms.technology: machine-learning
55

6-
ms.date: 04/15/2018
6+
ms.date: 10/22/2018
77
ms.topic: tutorial
88
author: HeidiSteen
99
ms.author: heidist
@@ -12,23 +12,13 @@ manager: cgronlun
1212
# Tutorials for SQL Server Machine Learning Services
1313
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md-winonly](../../includes/appliesto-ss-xxxx-xxxx-xxx-md-winonly.md)]
1414

15-
This article provides a comprehensive list of the tutorials, demos, and sample applications that use machine learning features in SQL Server 2016 or SQL Server 2017. Start here to learn how to run R or Python from T-SQL, how to use remote and local compute contexts, and how to optimize your R and Python code for a SQL production environment.
15+
This article provides a comprehensive list of the tutorials, demos, and sample applications that use machine learning features in SQL Server 2016 or SQL Server 2017. Start here to learn how to run R or Python from T-SQL, how to use remote and local compute contexts, and how to operationalize your R and Python code for a SQL production environment.
1616

1717
+ [Python tutorials](../tutorials/sql-server-python-tutorials.md)
1818

1919
+ [R tutorials](../tutorials/sql-server-r-tutorials.md)
2020

21-
## Samples and solutions
22-
23-
+ [Samples](#bkmk_samples)
24-
25-
These real-world scenarios from the SQL Server development team demonstrate how to embed machine learning in applications. All samples include code that you can download, modify, and use in production.
26-
27-
+ [Solutions](#bkmk_solutions)
28-
29-
Templates from the Microsoft Data Science team are customizable, to get you started fast with machine learning. Each solution is tailored to a specific task or industry problem. Most of the solutions are designed to run either in SQL Server, or in a cloud environment such as Azure Machine Learning. Other solutions can run on Linux or in Spark or Hadoop clusters, by using Microsoft R Server or Machine Learning Server.
30-
31-
### <a name ="bkmk_samples"></a>SQL Server product samples
21+
## <a name ="bkmk_samples"></a>R and Python samples
3222

3323
These samples and demos provided by the SQL Server and R Server development team highlight ways that you can use embedded analytics in real-world applications.
3424

@@ -40,9 +30,11 @@ These samples and demos provided by the SQL Server and R Server development team
4030
| [Build a predictive model using Python and SQL Server](https://microsoft.github.io/sql-ml-tutorials/python/rentalprediction/) | Build the ski rental analysis application using Python, to help plan for future demand. This example uses the new Python library, **revoscalepy**, to create a linear regression model. | SQL Server 2017 |
4131
| [How to use Tableau with SQL Server Machine Learning Services](https://blogs.msdn.microsoft.com/mlserver/2017/12/14/how-to-use-tableau-with-sql-server-machine-learning-services-with-r-and-python/) | Analyze social media and create Tableau graphs, using SQL Server and R. | SQL Server 2016 or SQL Server 2017 |
4232

43-
### <a name="bkmk_solutions"></a>Solution templates
33+
## <a name="bkmk_solutions"></a>Solution templates
34+
35+
The Microsoft Data Science Team has provided customizable solution templates that can be used to jump-start solutions for common scenarios. Each solution is tailored to a specific task or industry problem. Most of the solutions are designed to run either in SQL Server, or in a cloud environment such as Azure Machine Learning. Other solutions can run on Linux or in Spark or Hadoop clusters, by using Microsoft R Server or Machine Learning Server.
4436

45-
The Microsoft Data Science Team has provided solution templates that can be used to jump-start solutions for common scenarios. All code is provided, along with instructions on how to train and deploy a model for scoring using SQL Server stored procedures.
37+
All code is provided, along with instructions on how to train and deploy a model for scoring using SQL Server stored procedures.
4638

4739
+ [Fraud detection](https://gallery.cortanaanalytics.com/Tutorial/Online-Fraud-Detection-Template-with-SQL-Server-R-Services-1)
4840
+ [Custom churn prediction](https://gallery.cortanaanalytics.com/Tutorial/Customer-Churn-Prediction-Template-with-SQL-Server-R-Services-1)

docs/advanced-analytics/tutorials/train-score-using-python-in-tsql.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Use a Python model in SQL Server for training and predictions | Microsoft Docs
3-
description: Create and train a model using Python and the classic Iris data set. Save the model to SQL Server, and then use it to generate predicted outcomes.
2+
title: Python models in SQL Server for training and predictions using stored procedures | Microsoft Docs
3+
description: Embed Python code in SQL Server stored procedures to create, train, and use a Python model with the classic Iris data set. Save a trained model to SQL Server, and then use it to generate predicted outcomes.
44
ms.prod: sql
55
ms.technology: machine-learning
66

@@ -10,19 +10,19 @@ author: HeidiSteen
1010
ms.author: heidist
1111
manager: cgronlun
1212
---
13-
# Use a Python model in SQL Server for training and scoring
13+
# Create, train, and use a Python model with stored procedures in SQL Server
1414
[!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md-winonly](../../includes/appliesto-ss-xxxx-xxxx-xxx-md-winonly.md)]
1515

16-
This exercise demonstrates the capabilities of Python integration with SQL Server when you [add machine learning](../install/sql-machine-learning-services-windows-install.md) to a database engine instance. On a Python-integrated instance, you can wrap Python code inside a [stored procedure](../../relational-databases/stored-procedures/stored-procedures-database-engine.md), enabling one of the major mechanisms for operationalizing production code in SQL Server. The ability to embed code in a procedure has tangible benefits in how you design, test, and manage data science and machine learning workloads in SQL Server.
16+
This exercise demonstrates the capabilities of Python integration with SQL Server when you [add machine learning](../install/sql-machine-learning-services-windows-install.md) to a database engine instance. On a Python-integrated instance, you can wrap Python code inside a [stored procedure](../../relational-databases/stored-procedures/stored-procedures-database-engine.md), leveraging one of the major mechanisms for operationalizing production code in SQL Server. The ability to embed code in a procedure has tangible benefits in how you design, test, and manage data science and machine learning workloads in SQL Server.
1717

1818
In this Python exercise, you will create and execute two procedures. The first one uses the classic Iris flower data set and generates a Naïve Bayes model to predict an Iris species based on flower characteristics. The second procedure is for scoring. It calls the model generated in the first procedure to output a set of predictions. By placing code in a stored procedure, operations are contained, reusable, and callable by other stored procedures and client applications.
1919

20-
By completing this tutorial, you will learn how to:
20+
By completing this tutorial, you will learn:
2121

2222
> [!div class="checklist"]
23-
> * Use stored procedures to operationalize code
24-
> * Embed code in a stored procedure
25-
> * Pass inputs to your code through inputs on the stored procedure
23+
> * How stored procedures are used to operationalize code
24+
> * How to embed code in a stored procedure
25+
> * How to pass inputs to your code through inputs on the stored procedure
2626
2727
## Prerequisites
2828

docs/dea/database-experimentation-assistant-capture-trace.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: Capture a trace with Database Experimentation Assistant for SQL Server upgrades
33
description: Capture a trace with Database Experimentation Assistant
44
ms.custom: ""
5-
ms.date: 10/12/2018
5+
ms.date: 10/22/2018
66
ms.prod: sql
77
ms.prod_service: dea
88
ms.suite: sql
99
ms.technology: dea
1010
ms.tgt_pltfrm: ""
1111
ms.topic: conceptual
1212
author: HJToland3
13-
ms.author: jtoland
13+
ms.author: ajaykar
1414
ms.reviewer: douglasl
1515
manager: craigg
1616
---
@@ -114,7 +114,7 @@ If you receive an error while running Capture Trace, first review the following
114114

115115
- Confirm the SQL Server name is valid. To confirm, try connecting to the server using SSMS.
116116
- Confirm your firewall configuration isn't blocking connections to SQL Server.
117-
- Confirm user has the permissions listed in the permissions blog.
117+
- Confirm user has the permissions listed in the blog posting [Replay FAQ](https://blogs.msdn.microsoft.com/datamigration/2017/03/24/dea-2-0-replay-faq/).
118118
- Confirm that trace name doesn't follow the standard rollover convention (that is, 'Capture\_1'). You can instead try trace names like 'Capture\_1A' or 'Capture1'.
119119

120120
Following are some possible errors you might see and solutions for resolving them:

docs/dea/database-experimentation-assistant-configure-replay.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: Configure replay for Database Experimentation Assistant for SQL Server upgrades
33
description: Configure replay for Database Experimentation Assistant
44
ms.custom: ""
5-
ms.date: 10/12/2018
5+
ms.date: 10/22/2018
66
ms.prod: sql
77
ms.prod_service: dea
88
ms.suite: sql
99
ms.technology: dea
1010
ms.tgt_pltfrm: ""
1111
ms.topic: conceptual
1212
author: HJToland3
13-
ms.author: jtoland
13+
ms.author: ajaykar
1414
ms.reviewer: douglasl
1515
manager: craigg
1616
---

docs/dea/database-experimentation-assistant-create-report.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: Create Analysis Reports with Database Experimentation Assistant for SQL Server upgrades
33
description: Create Analysis Reports with Database Experimentation Assistant
44
ms.custom: ""
5-
ms.date: 10/12/2018
5+
ms.date: 10/22/2018
66
ms.prod: sql
77
ms.prod_service: dea
88
ms.suite: sql
99
ms.technology: dea
1010
ms.tgt_pltfrm: ""
1111
ms.topic: conceptual
1212
author: HJToland3
13-
ms.author: jtoland
13+
ms.author: ajaykar
1414
ms.reviewer: douglasl
1515
manager: craigg
1616
---
@@ -73,7 +73,7 @@ The current logged in user in DEA should have sysadmin privilege to the analysis
7373
|Possible Errors|Solution|
7474
|---|---|
7575
|Unable to connect to the database. Make sure you have sysadmin privileges for analyzing and viewing the reports.|You might not have access or sysadmin permissions to the server or database. Confirm your login permissions and privileges and try again|
76-
|Unable to generate Report Name on server Server Name. For details, check the Report Name report.|You might not have sysadmin privileges needed to generate a new report. Detailed errors can be found by clicking on the errored out report (see #4) and by checking the logs found at %temp%\\DEA.|
76+
|Unable to generate Report Name on server Server Name. For details, check the Report Name report.|You might not have sysadmin privileges needed to generate a new report. Detailed errors can be found by clicking on the errored out report and by checking the logs found at %temp%\\DEA.|
7777
|The current user doesn't have the required permissions to run the operation. Make sure you have sysadmin privileges for performing trace and analyzing the reports.|You don't have sysadmin privileges needed to generate a new report.|
7878

7979
### I'm unable to connect to the SQL Server.

docs/dea/database-experimentation-assistant-get-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: Get started with Database Experimentation Assistant for SQL Server upgrades
33
description: Get started with Database Experimentation Assistant
44
ms.custom: ""
5-
ms.date: 10/12/2018
5+
ms.date: 10/22/2018
66
ms.prod: sql
77
ms.prod_service: dea
88
ms.suite: sql
99
ms.technology: dea
1010
ms.tgt_pltfrm: ""
1111
ms.topic: conceptual
1212
author: HJToland3
13-
ms.author: jtoland
13+
ms.author: ajaykar
1414
ms.reviewer: douglasl
1515
manager: craigg
1616
---

docs/dea/database-experimentation-assistant-overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: Overview of Database Experimentation Assistant solution for SQL Server upgrades
33
description: Overview of Database Experimentation Assistant
44
ms.custom: ""
5-
ms.date: 10/12/2018
5+
ms.date: 10/22/2018
66
ms.prod: sql
77
ms.prod_service: dea
88
ms.suite: sql
99
ms.technology: dea
1010
ms.tgt_pltfrm: ""
1111
ms.topic: conceptual
1212
author: HJToland3
13-
ms.author: jtoland
13+
ms.author: ajaykar
1414
ms.reviewer: douglasl
1515
manager: craigg
1616
---

docs/dea/database-experimentation-assistant-replay-trace.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: Replay a trace with Database Experimentation Assistant for SQL Server upgrades
33
description: Replay a trace with Database Experimentation Assistant
44
ms.custom: ""
5-
ms.date: 10/12/2018
5+
ms.date: 10/22/2018
66
ms.prod: sql
77
ms.prod_service: dea
88
ms.suite: sql
99
ms.technology: dea
1010
ms.tgt_pltfrm: ""
1111
ms.topic: conceptual
1212
author: HJToland3
13-
ms.author: jtoland
13+
ms.author: ajaykar
1414
ms.reviewer: douglasl
1515
manager: craigg
1616
---
@@ -46,7 +46,7 @@ Open the tool and select the menu icon on the left side of screen. This action o
4646

4747
### Verify setup
4848

49-
- **SQL Server install path:** Provide the path to where SQL Server is installed. For example, [C:\\Program](/Program) Files (x86)\\Microsoft SQL Server\\120.
49+
- **SQL Server install path:** Provide the path to where SQL Server is installed. For example, C:\\Program Files (x86)\\Microsoft SQL Server\\120.
5050
- **Controller machine name:** Provide the name of the machine that has been set up as the controller. This machine is the one running the Windows service named SQL Server Distributed Replay controller. The Distributed Replay controller orchestrates the actions of the Distributed Replay clients. There can only be one controller instance in each Distributed Replay environment.
5151
- **Client machine names:** Provide the name for each client machine, separated by commas, for example client1, client2. You can have up to five client controllers. Clients are one or more machines, physical or virtual, running the Windows service named SQL Server Distributed Replay client. The Distributed Replay clients work together to simulate workloads against an instance of SQL Server. There can be one or more clients in each Distributed Replay environment.
5252
- Select **Next**.
@@ -126,7 +126,7 @@ Further details can be found in the logs at %temp%\\DEA. If the problem persists
126126

127127
- Verify that the Distributed Replay controller service is running on the controller machine using the Distributed Replay Management Tools (run command `dreplay.exe status -f 1`).
128128
- If the replay is being started remotely:
129-
- Confirm that the machine running DEA can ping the controller successfully. Confirm firewall settings to allow connections per instructions in the Configure Replay Environment page.
129+
- Confirm that the machine running DEA can ping the controller successfully. Confirm firewall settings to allow connections per instructions in the Configure Replay Environment page. For more infomation, see the article [SQL Server Distributed Replay](https://docs.microsoft.com/sql/tools/distributed-replay/sql-server-distributed-replay?view=sql-server-2017).
130130
- Make sure that the DCOM Remote Launch and Remote Activation are allowed for the user of the Distributed Replay controller.
131131
- Make sure that the DCOM Remote Access permissions are allowed for the user of Distributed Replay controller.
132132

docs/dea/database-experimentation-assistant-run-command-prompt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: Run Database Experimentation Assistant at a command prompt for SQL Server upgrades
33
description: Run Database Experimentation Assistant at a command prompt
44
ms.custom: ""
5-
ms.date: 10/12/2018
5+
ms.date: 10/22/2018
66
ms.prod: sql
77
ms.prod_service: dea
88
ms.suite: sql
99
ms.technology: dea
1010
ms.tgt_pltfrm: ""
1111
ms.topic: conceptual
1212
author: HJToland3
13-
ms.author: jtoland
13+
ms.author: ajaykar
1414
ms.reviewer: douglasl
1515
manager: craigg
1616
---

docs/dea/database-experimentation-assistant-view-report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: View Analysis Reports with Database Experimentation Assistant for SQL Server upgrades
33
description: View Analysis Reports with Database Experimentation Assistant
44
ms.custom: ""
5-
ms.date: 10/12/2018
5+
ms.date: 10/22/2018
66
ms.prod: sql
77
ms.prod_service: dea
88
ms.suite: sql
99
ms.technology: dea
1010
ms.tgt_pltfrm: ""
1111
ms.topic: conceptual
1212
author: HJToland3
13-
ms.author: jtoland
13+
ms.author: ajaykar
1414
ms.reviewer: douglasl
1515
manager: craigg
1616
---

0 commit comments

Comments
 (0)