Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit c371a0d

Browse files
Merge pull request #16386 from garyericson/07-31-rename-python-tutorial-files
SQLML: Renaming Python tutorial files
2 parents 5881bae + 919f37d commit c371a0d

11 files changed

Lines changed: 61 additions & 36 deletions

.openpublishing.redirection.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42533,6 +42533,11 @@
4253342533
{
4253442534
"source_path": "docs/advanced-analytics/tutorials/sqldev-in-database-python-for-sql-developers.md",
4253542535
"redirect_url": "/sql/machine-learning/tutorials/sqldev-in-database-python-for-sql-developers",
42536+
"redirect_document_id": false
42537+
},
42538+
{
42539+
"source_path": "docs/machine-learning/tutorials/sqldev-in-database-python-for-sql-developers.md",
42540+
"redirect_url": "/sql/machine-learning/tutorials/python-taxi-classification-introduction",
4253642541
"redirect_document_id": true
4253742542
},
4253842543
{
@@ -42548,21 +42553,41 @@
4254842553
{
4254942554
"source_path": "docs/advanced-analytics/tutorials/sqldev-py3-explore-and-visualize-the-data.md",
4255042555
"redirect_url": "/sql/machine-learning/tutorials/sqldev-py3-explore-and-visualize-the-data",
42556+
"redirect_document_id": false
42557+
},
42558+
{
42559+
"source_path": "docs/machine-learning/tutorials/sqldev-py3-explore-and-visualize-the-data.md",
42560+
"redirect_url": "/sql/machine-learning/tutorials/python-taxi-classification-explore-data",
4255142561
"redirect_document_id": true
4255242562
},
4255342563
{
4255442564
"source_path": "docs/advanced-analytics/tutorials/sqldev-py4-create-data-features-using-t-sql.md",
4255542565
"redirect_url": "/sql/machine-learning/tutorials/sqldev-py4-create-data-features-using-t-sql",
42566+
"redirect_document_id": false
42567+
},
42568+
{
42569+
"source_path": "docs/machine-learning/tutorials/sqldev-py4-create-data-features-using-t-sql.md",
42570+
"redirect_url": "/sql/machine-learning/tutorials/python-taxi-classification-create-features",
4255642571
"redirect_document_id": true
4255742572
},
4255842573
{
4255942574
"source_path": "docs/advanced-analytics/tutorials/sqldev-py5-train-and-save-a-model-using-t-sql.md",
4256042575
"redirect_url": "/sql/machine-learning/tutorials/sqldev-py5-train-and-save-a-model-using-t-sql",
42576+
"redirect_document_id": false
42577+
},
42578+
{
42579+
"source_path": "docs/machine-learning/tutorials/sqldev-py5-train-and-save-a-model-using-t-sql.md",
42580+
"redirect_url": "/sql/machine-learning/tutorials/python-taxi-classification-train-model",
4256142581
"redirect_document_id": true
4256242582
},
4256342583
{
4256442584
"source_path": "docs/advanced-analytics/tutorials/sqldev-py6-operationalize-the-model.md",
4256542585
"redirect_url": "/sql/machine-learning/tutorials/sqldev-py6-operationalize-the-model",
42586+
"redirect_document_id": false
42587+
},
42588+
{
42589+
"source_path": "docs/machine-learning/tutorials/sqldev-py6-operationalize-the-model.md",
42590+
"redirect_url": "/sql/machine-learning/tutorials/python-taxi-classification-deploy-model",
4256642591
"redirect_document_id": true
4256742592
},
4256842593
{

docs/machine-learning/python/ref-py-revoscalepy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ When running locally, you typically run a Python script from the command line, o
9999

100100
When you are ready to encapsulate Python script inside a stored procedure, [sp_execute_external_script](https://docs.microsoft.com/sql/relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql), we recommend rewriting the code as a single function that has clearly defined inputs and outputs.
101101

102-
Inputs and outputs must be **pandas** data frames. When this is done, you can call the stored procedure from any client that supports T-SQL, easily pass SQL queries as inputs, and save the results to SQL tables. For an example, see [Learn in-database Python analytics for SQL developers](../tutorials/sqldev-in-database-python-for-sql-developers.md).
102+
Inputs and outputs must be **pandas** data frames. When this is done, you can call the stored procedure from any client that supports T-SQL, easily pass SQL queries as inputs, and save the results to SQL tables. For an example, see [Learn in-database Python analytics for SQL developers](../tutorials/python-taxi-classification-introduction.md).
103103

104104
### Using revoscalepy with microsoftml
105105

docs/machine-learning/toc.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,15 @@
102102
- name: Python for SQL developers
103103
items:
104104
- name: 1 - Introduction
105-
href: ../machine-learning/tutorials/sqldev-in-database-python-for-sql-developers.md
105+
href: ../machine-learning/tutorials/python-taxi-classification-introduction.md
106106
- name: 2 - Data exploration
107-
href: ../machine-learning/tutorials/sqldev-py3-explore-and-visualize-the-data.md
107+
href: ../machine-learning/tutorials/python-taxi-classification-explore-data.md
108108
- name: 3 - Feature engineering
109-
href: ../machine-learning/tutorials/sqldev-py4-create-data-features-using-t-sql.md
109+
href: ../machine-learning/tutorials/python-taxi-classification-create-features.md
110110
- name: 4 - Train and deploy
111-
href: ../machine-learning/tutorials/sqldev-py5-train-and-save-a-model-using-t-sql.md
111+
href: ../machine-learning/tutorials/python-taxi-classification-train-model.md
112112
- name: 5 - Predictions
113-
href: ../machine-learning/tutorials/sqldev-py6-operationalize-the-model.md
113+
href: ../machine-learning/tutorials/python-taxi-classification-deploy-model.md
114114
- name: R
115115
items:
116116
- name: R tutorials

docs/machine-learning/tutorials/demo-data-nyctaxi-in-sql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ To complete this exercise, you should have [SQL Server Management Studio](https:
2121
Tutorials and quickstarts using this data set include the following:
2222

2323
+ [Learn in-database analytics using R in SQL Server](sqldev-in-database-r-for-sql-developers.md)
24-
+ [Learn in-database analytics using Python in SQL Server](sqldev-in-database-python-for-sql-developers.md)
24+
+ [Learn in-database analytics using Python in SQL Server](python-taxi-classification-introduction.md)
2525

2626
## Download files
2727

@@ -111,4 +111,4 @@ Results should be similar to those showing in the following screenshot.
111111
NYC Taxi sample data is now available for hands-on learning.
112112
113113
+ [Learn in-database analytics using R in SQL Server](sqldev-in-database-r-for-sql-developers.md)
114-
+ [Learn in-database analytics using Python in SQL Server](sqldev-in-database-python-for-sql-developers.md)
114+
+ [Learn in-database analytics using Python in SQL Server](python-taxi-classification-introduction.md)

docs/machine-learning/tutorials/sqldev-py4-create-data-features-using-t-sql.md renamed to docs/machine-learning/tutorials/python-taxi-classification-create-features.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ In this article, you'll:
2525
> + Modify a custom function to calculate trip distance
2626
> + Save the features using another custom function
2727
28-
In [part one](sqldev-in-database-python-for-sql-developers.md), you installed the prerequisites and restored the sample database.
28+
In [part one](python-taxi-classification-introduction.md), you installed the prerequisites and restored the sample database.
2929

30-
In [part two](sqldev-py3-explore-and-visualize-the-data.md), you explored the sample data and generated some plots.
30+
In [part two](python-taxi-classification-explore-data.md), you explored the sample data and generated some plots.
3131

32-
In [part four](sqldev-py5-train-and-save-a-model-using-t-sql.md), you'll load the modules and call the necessary functions to create and train the model using a SQL Server stored procedure.
32+
In [part four](python-taxi-classification-train-model.md), you'll load the modules and call the necessary functions to create and train the model using a SQL Server stored procedure.
3333

34-
In [part five](sqldev-py6-operationalize-the-model.md), you'll learn how to operationalize the models that you trained and saved in part four.
34+
In [part five](python-taxi-classification-deploy-model.md), you'll learn how to operationalize the models that you trained and saved in part four.
3535

3636
## Define the Function
3737

@@ -130,4 +130,4 @@ In this article, you:
130130
> + Saved the features using another custom function
131131
132132
> [!div class="nextstepaction"]
133-
> [Python tutorial: Train and save a Python model using T-SQL](sqldev-py5-train-and-save-a-model-using-t-sql.md)
133+
> [Python tutorial: Train and save a Python model using T-SQL](python-taxi-classification-train-model.md)

docs/machine-learning/tutorials/sqldev-py6-operationalize-the-model.md renamed to docs/machine-learning/tutorials/python-taxi-classification-deploy-model.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ In this article, you'll:
3232
> + Create and use stored procedures for batch scoring
3333
> + Create and use stored procedures for scoring a single row
3434
35-
In [part one](sqldev-in-database-python-for-sql-developers.md), you installed the prerequisites and restored the sample database.
35+
In [part one](python-taxi-classification-introduction.md), you installed the prerequisites and restored the sample database.
3636

37-
In [part two](sqldev-py3-explore-and-visualize-the-data.md), you explored the sample data and generated some plots.
37+
In [part two](python-taxi-classification-explore-data.md), you explored the sample data and generated some plots.
3838

39-
In [part three](sqldev-py4-create-data-features-using-t-sql.md), you learned how to create features from raw data by using a Transact-SQL function. You then called that function from a stored procedure to create a table that contains the feature values.
39+
In [part three](python-taxi-classification-create-features.md), you learned how to create features from raw data by using a Transact-SQL function. You then called that function from a stored procedure to create a table that contains the feature values.
4040

41-
In [part four](sqldev-py5-train-and-save-a-model-using-t-sql.md), you loaded the modules and called the necessary functions to create and train the model using a SQL Server stored procedure.
41+
In [part four](python-taxi-classification-train-model.md), you loaded the modules and called the necessary functions to create and train the model using a SQL Server stored procedure.
4242

4343
## Batch scoring
4444

@@ -183,9 +183,9 @@ In this section, you'll learn how to create single predictions by calling two st
183183

184184
+ [PredictTipSingleModeSciKitPy](#predicttipsinglemodescikitpy) is designed for single-row scoring using the scikit-learn model.
185185
+ [PredictTipSingleModeRxPy](#predicttipsinglemoderxpy) is designed for single-row scoring using the revoscalepy model.
186-
+ If you haven't trained a model yet, return to [part five](sqldev-py5-train-and-save-a-model-using-t-sql.md)!
186+
+ If you haven't trained a model yet, return to [part five](python-taxi-classification-train-model.md)!
187187

188-
Both models take as input a series of single values, such as passenger count, trip distance, and so forth. A table-valued function, `fnEngineerFeatures`, is used to convert latitude and longitude values from the inputs to a new feature, direct distance. [Part four](sqldev-py4-create-data-features-using-t-sql.md) contains a description of this table-valued function.
188+
Both models take as input a series of single values, such as passenger count, trip distance, and so forth. A table-valued function, `fnEngineerFeatures`, is used to convert latitude and longitude values from the inputs to a new feature, direct distance. [Part four](python-taxi-classification-create-features.md) contains a description of this table-valued function.
189189

190190
Both stored procedures create a score based on the Python model.
191191

docs/machine-learning/tutorials/sqldev-py3-explore-and-visualize-the-data.md renamed to docs/machine-learning/tutorials/python-taxi-classification-explore-data.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ In this article, you'll:
2323
> + Review the sample data
2424
> + Create plots using Python in T-SQL
2525
26-
In [part one](sqldev-in-database-python-for-sql-developers.md), you installed the prerequisites and restored the sample database.
26+
In [part one](python-taxi-classification-introduction.md), you installed the prerequisites and restored the sample database.
2727

28-
In [part three](sqldev-py4-create-data-features-using-t-sql.md), you'll learn how to create features from raw data by using a Transact-SQL function. You'll then call that function from a stored procedure to create a table that contains the feature values.
28+
In [part three](python-taxi-classification-create-features.md), you'll learn how to create features from raw data by using a Transact-SQL function. You'll then call that function from a stored procedure to create a table that contains the feature values.
2929

30-
In [part four](sqldev-py5-train-and-save-a-model-using-t-sql.md), you'll load the modules and call the necessary functions to create and train the model using a SQL Server stored procedure.
30+
In [part four](python-taxi-classification-train-model.md), you'll load the modules and call the necessary functions to create and train the model using a SQL Server stored procedure.
3131

32-
In [part five](sqldev-py6-operationalize-the-model.md), you'll learn how to operationalize the models that you trained and saved in part four.
32+
In [part five](python-taxi-classification-deploy-model.md), you'll learn how to operationalize the models that you trained and saved in part four.
3333

3434
## Review the data
3535

@@ -194,4 +194,4 @@ In this article, you:
194194
> + Created plots using Python in T-SQL
195195

196196
> [!div class="nextstepaction"]
197-
> [Python tutorial: Create Data Features using T-SQL](sqldev-py4-create-data-features-using-t-sql.md)
197+
> [Python tutorial: Create Data Features using T-SQL](python-taxi-classification-create-features.md)

docs/machine-learning/tutorials/sqldev-in-database-python-for-sql-developers.md renamed to docs/machine-learning/tutorials/python-taxi-classification-introduction.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ In this article, you'll:
3939
> + Install prerequisites
4040
> + Restore the sample database
4141
42-
In [part two](sqldev-py3-explore-and-visualize-the-data.md), you'll explore the sample data and generate some plots.
42+
In [part two](python-taxi-classification-explore-data.md), you'll explore the sample data and generate some plots.
4343

44-
In [part three](sqldev-py4-create-data-features-using-t-sql.md), you'll learn how to create features from raw data by using a Transact-SQL function. You'll then call that function from a stored procedure to create a table that contains the feature values.
44+
In [part three](python-taxi-classification-create-features.md), you'll learn how to create features from raw data by using a Transact-SQL function. You'll then call that function from a stored procedure to create a table that contains the feature values.
4545

46-
In [part four](sqldev-py5-train-and-save-a-model-using-t-sql.md), you'll load the modules and call the necessary functions to create and train the model using a SQL Server stored procedure.
46+
In [part four](python-taxi-classification-train-model.md), you'll load the modules and call the necessary functions to create and train the model using a SQL Server stored procedure.
4747

48-
In [part five](sqldev-py6-operationalize-the-model.md), you'll learn how to operationalize the models that you trained and saved in part four.
48+
In [part five](python-taxi-classification-deploy-model.md), you'll learn how to operationalize the models that you trained and saved in part four.
4949

5050
> [!NOTE]
5151
> This tutorial is available in both R and Python. For the R version, see [R tutorial: Predict NYC taxi fares with binary classification](sqldev-in-database-r-for-sql-developers.md).
@@ -88,4 +88,4 @@ In this article, you:
8888
> + Restored the sample database
8989
9090
> [!div class="nextstepaction"]
91-
> [Python tutorial: Explore and visualize data](sqldev-py3-explore-and-visualize-the-data.md)
91+
> [Python tutorial: Explore and visualize data](python-taxi-classification-explore-data.md)

docs/machine-learning/tutorials/sqldev-py5-train-and-save-a-model-using-t-sql.md renamed to docs/machine-learning/tutorials/python-taxi-classification-train-model.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ In this article, you'll:
2525
> + Create and train a model using a SQL stored procedure
2626
> + Save the trained model to a SQL table
2727
28-
In [part one](sqldev-in-database-python-for-sql-developers.md), you installed the prerequisites and restored the sample database.
28+
In [part one](python-taxi-classification-introduction.md), you installed the prerequisites and restored the sample database.
2929

30-
In [part two](sqldev-py3-explore-and-visualize-the-data.md), you explored the sample data and generated some plots.
30+
In [part two](python-taxi-classification-explore-data.md), you explored the sample data and generated some plots.
3131

32-
In [part three](sqldev-py4-create-data-features-using-t-sql.md), you learned how to create features from raw data by using a Transact-SQL function. You then called that function from a stored procedure to create a table that contains the feature values.
32+
In [part three](python-taxi-classification-create-features.md), you learned how to create features from raw data by using a Transact-SQL function. You then called that function from a stored procedure to create a table that contains the feature values.
3333

34-
In [part five](sqldev-py6-operationalize-the-model.md), you'll learn how to operationalize the models that you trained and saved in part four.
34+
In [part five](python-taxi-classification-deploy-model.md), you'll learn how to operationalize the models that you trained and saved in part four.
3535

3636
## Split the sample data into training and testing sets
3737

@@ -216,4 +216,4 @@ In this article, you:
216216
> + Saved the trained model to a SQL table
217217
218218
> [!div class="nextstepaction"]
219-
> [Python tutorial: Run predictions using Python embedded in a stored procedure](sqldev-py6-operationalize-the-model.md)
219+
> [Python tutorial: Run predictions using Python embedded in a stored procedure](python-taxi-classification-deploy-model.md)

docs/machine-learning/tutorials/python-tutorials.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This article describes the Python tutorials and quickstarts for [Azure SQL Manag
3333
| [Predict ski rental with linear regression](python-ski-rental-linear-regression.md) | Use Python and linear regression to predict the number of ski rentals. Use notebooks in Azure Data Studio for preparing data and training the model, and T-SQL for model deployment. |
3434
| [Categorizing customers using k-means clustering](python-clustering-model.md) | Use Python to develop and deploy a K-Means clustering model to categorize customers. Use notebooks in Azure Data Studio for preparing data and training the model, and T-SQL for model deployment. |
3535
| [Create a model using revoscalepy](use-python-revoscalepy-to-create-model.md) | Demonstrates how to run code from a remote Python client using SQL Server as compute context. The tutorial creates a model using **rxLinMod** from the **revoscalepy** library. |
36-
| [Python data analytics for SQL developers](sqldev-in-database-python-for-sql-developers.md) | This end-to-end walkthrough demonstrates the process of building a complete Python solution using T-SQL. |
36+
| [Python data analytics for SQL developers](python-taxi-classification-introduction.md) | This end-to-end walkthrough demonstrates the process of building a complete Python solution using T-SQL. |
3737
::: moniker-end
3838
::: moniker range="=azuresqldb-mi-current"
3939
| Tutorial | Description |

0 commit comments

Comments
 (0)