Skip to content

Commit 3886cde

Browse files
committed
Update read me
1 parent 496845a commit 3886cde

2 files changed

Lines changed: 26 additions & 7 deletions

File tree

samples/features/sql-big-data-cluster/machine-learning/README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
# Machine learning in SQL Server 2019 big data cluster
22

3-
## SQL Server Machine Learning Services on SQL Master instance
3+
## SQL Server Machine Learning Services
44

5-
In this example, we are building a machine learning model using R and a logistic regression algorithm for a recommendation engine on an online store. Based on existing users' click pattern online and their interest in other categories and demographics, we are training a machine learning model. This model will then be used to predict if the visitor is interested in a given item category using the T-SQL PREDICT function.
5+
[sql](sql)
66

7-
### Instructions
8-
9-
1. Connect to SQL Server Master instance.
10-
11-
1. Execute the SQL [sql/book-click-prediction-r.sql](sql/book-click-prediction-r.sql/).
7+
SQL Server machine learning services samples showing R, Python & Java support.
128

139
## Machine learning using Spark
1410

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# SQL Server Machine Learning Services on SQL Master instance
2+
3+
[book-click-prediction-r.sql](book-click-prediction-r.sql/)
4+
5+
In this example, we are building a machine learning model using R and a logistic regression algorithm for a recommendation engine on an online store. Based on existing users' click pattern online and their interest in other categories and demographics, we are training a machine learning model. This model will then be used to predict if the visitor is interested in a given item category using the T-SQL PREDICT function.
6+
7+
[book-click-prediction-py.sql](book-click-prediction-py.sql/)
8+
9+
In this example, we are building a machine learning model using Python and a logistic regression algorithm for a recommendation engine on an online store. Based on existing users' click pattern online and their interest in other categories and demographics, we are training a machine learning model. This model will then be used to predict if the visitor is interested in a given item category using the T-SQL PREDICT function.
10+
11+
[book-click-prediction-partitioned-r.sql](book-click-prediction-partitioned-r.sql/)
12+
13+
In this example, we are leveraging the new partitioning support (SQL Server 2019) in sp_execute_external_script to partition the input data and run the R script per partition. So we will modify the training script to train model per group of users based on credit rating. The R script will produce N models for the same input data set.
14+
15+
[book-click-prediction-partitioned-py.sql](book-click-prediction-partitioned-py.sql/)
16+
17+
In this example, we are leveraging the new partitioning support (SQL Server 2019) in sp_execute_external_script to partition the input data and run the Python script per partition. So we will modify the training script to train model per group of users based on credit rating. The Python script will produce N models for the same input data set.
18+
19+
### Instructions
20+
21+
1. Connect to SQL Server Master instance.
22+
23+
1. Execute the SQL script.

0 commit comments

Comments
 (0)