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/machine-learning/python/ref-py-revoscalepy.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
@@ -99,7 +99,7 @@ When running locally, you typically run a Python script from the command line, o
99
99
100
100
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.
101
101
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).
Copy file name to clipboardExpand all lines: docs/machine-learning/tutorials/python-taxi-classification-create-features.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,13 +25,13 @@ In this article, you'll:
25
25
> + Modify a custom function to calculate trip distance
26
26
> + Save the features using another custom function
27
27
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.
29
29
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.
31
31
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.
33
33
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.
35
35
36
36
## Define the Function
37
37
@@ -130,4 +130,4 @@ In this article, you:
130
130
> + Saved the features using another custom function
131
131
132
132
> [!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)
Copy file name to clipboardExpand all lines: docs/machine-learning/tutorials/python-taxi-classification-deploy-model.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
@@ -32,13 +32,13 @@ In this article, you'll:
32
32
> + Create and use stored procedures for batch scoring
33
33
> + Create and use stored procedures for scoring a single row
34
34
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.
36
36
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.
38
38
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.
40
40
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.
42
42
43
43
## Batch scoring
44
44
@@ -183,9 +183,9 @@ In this section, you'll learn how to create single predictions by calling two st
183
183
184
184
+[PredictTipSingleModeSciKitPy](#predicttipsinglemodescikitpy) is designed for single-row scoring using the scikit-learn model.
185
185
+[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)!
187
187
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.
189
189
190
190
Both stored procedures create a score based on the Python model.
Copy file name to clipboardExpand all lines: docs/machine-learning/tutorials/python-taxi-classification-explore-data.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,13 +23,13 @@ In this article, you'll:
23
23
> + Review the sample data
24
24
> + Create plots using Python in T-SQL
25
25
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.
27
27
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.
29
29
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.
31
31
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.
33
33
34
34
## Review the data
35
35
@@ -194,4 +194,4 @@ In this article, you:
194
194
>+ Created plots using Python in T-SQL
195
195
196
196
> [!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)
Copy file name to clipboardExpand all lines: docs/machine-learning/tutorials/python-taxi-classification-introduction.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,13 +39,13 @@ In this article, you'll:
39
39
> + Install prerequisites
40
40
> + Restore the sample database
41
41
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.
43
43
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.
45
45
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.
47
47
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.
49
49
50
50
> [!NOTE]
51
51
> 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:
88
88
> + Restored the sample database
89
89
90
90
> [!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)
Copy file name to clipboardExpand all lines: docs/machine-learning/tutorials/python-taxi-classification-train-model.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,13 +25,13 @@ In this article, you'll:
25
25
> + Create and train a model using a SQL stored procedure
26
26
> + Save the trained model to a SQL table
27
27
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.
29
29
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.
31
31
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.
33
33
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.
35
35
36
36
## Split the sample data into training and testing sets
37
37
@@ -216,4 +216,4 @@ In this article, you:
216
216
> + Saved the trained model to a SQL table
217
217
218
218
> [!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)
Copy file name to clipboardExpand all lines: docs/machine-learning/tutorials/python-tutorials.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
@@ -33,7 +33,7 @@ This article describes the Python tutorials and quickstarts for [Azure SQL Manag
33
33
|[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. |
34
34
|[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. |
35
35
|[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. |
0 commit comments