Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo to correct #17

Closed
BartVanDerVurst opened this issue Oct 31, 2016 · 0 comments
Closed

Typo to correct #17

BartVanDerVurst opened this issue Oct 31, 2016 · 0 comments

Comments

@BartVanDerVurst
Copy link

BartVanDerVurst commented Oct 31, 2016

Note to creators

In file:
https://github.com/Microsoft/SQL-Server-R-Services-Samples/blob/master/Churn/SQLR/PredictRx.sql

Line 24:

Scores<-rxPredict(modelObject = mod, data = InputDataSet, outData = NULL,
predVarNames = "Score", type = "response", writeModelVars = FALSE, overwrite = TRUE);

should be

Scores<-rxPredict(modelObject = mod, data = InputDataSet, outData = NULL,
predVarNames = "TagPred1", type = "response", writeModelVars = FALSE, overwrite = TRUE);

As in line 27 you refer back to TagPred1.
Or vice versa offcourse..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants