Skip to content

Commit 63e8050

Browse files
committed
Trying to fix the BIN file inference in git
1 parent 2d2104e commit 63e8050

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

samples/features/sql-big-data-cluster/machine-learning/sql/python/book-click-prediction-py.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ BEGIN
1616
, @input_query nvarchar(max)
1717
, @train_script nvarchar(max)
1818

19-
-- Set the input query for training. We will use 80% of the data.
19+
-- Set the input query for training. We will use 80% of the data.
2020
SET @input_query = N'
2121
SELECT TOP(80) PERCENT SIGN(q.clicks_in_category) AS book_category
2222
, q.college_education
@@ -32,8 +32,8 @@ SELECT TOP(80) PERCENT SIGN(q.clicks_in_category) AS book_category
3232
, q.clicks_in_9
3333
FROM web_clickstreams_hdfs_book_clicks as q
3434
';
35-
-- Training R script that uses rxLogit function from RevoScaleR package (Microsoft R Server) to generate model to predict book_category click(s).
36-
SET @train_script = N'
35+
-- Training that uses rx_logit function from revoscalepy package (Microsoft ML Server) to generate model to predict book_category click(s).
36+
SET @train_script = N'
3737
# build classification model to predict book_category
3838
import pickle
3939
from revoscalepy import rx_logit, rx_serialize_model
@@ -92,4 +92,4 @@ SELECT TOP(100)
9292
, w.clicks_in_9 AS [Sports & Outdoors]
9393
FROM PREDICT(MODEL = @sales_model, DATA = web_clickstreams_hdfs_book_clicks as w) WITH ("book_category_Pred" float) as p
9494
WHERE p.book_category_Pred <> SIGN(w.clicks_in_category);
95-
GO
95+
GO

0 commit comments

Comments
 (0)